| java.lang.Object | ||
| ↳ | org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource | |
| ↳ | org.springframework.aop.target.dynamic.BeanFactoryRefreshableTargetSource | |
Known Direct Subclasses
|
Refreshable TargetSource that fetches fresh target beans from a BeanFactory.
Can be subclassed to override requiresRefresh() to suppress
unnecessary refreshes. By default, a refresh will be performed every time
the "refreshCheckDelay" has elapsed.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new BeanFactoryRefreshableTargetSource for the given
bean factory and bean name.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve a fresh target object.
| |||||||||||
A template method that subclasses may override to provide a
fresh target object for the given bean factory and bean name.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.TargetClassAware
| |||||||||||
From interface
org.springframework.aop.TargetSource
| |||||||||||
From interface
org.springframework.aop.target.dynamic.Refreshable
| |||||||||||
Create a new BeanFactoryRefreshableTargetSource for the given bean factory and bean name.
Note that the passed-in BeanFactory should have an appropriate bean definition set up for the given bean name.
| beanFactory | the BeanFactory to fetch beans from |
|---|---|
| beanName | the name of the target bean |
Retrieve a fresh target object.
A template method that subclasses may override to provide a fresh target object for the given bean factory and bean name.
This default implementation fetches a new target bean instance from the bean factory.