BeanFactory and also provides
an equivalent destroy method. Mainly for internal use to assist with initializing and
destroying handlers with per-connection lifecycle.
| Modifier and Type | Field and Description |
|---|---|
| private AutowireCapableBeanFactory | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public T | |
| public Class | |
| public void | setBeanFactory(BeanFactory
owning BeanFactory (never beanFactory)null).
The bean can immediately call methods on the factory.Implements org. Callback that supplies the owning factory to a bean instance. |
| public String |
| beanFactory | back to summary |
|---|---|
| private AutowireCapableBeanFactory beanFactory
| |
| handlerType | back to summary |
|---|---|
| private final Class<? extends T> handlerType | |
| BeanCreatingHandlerProvider | back to summary |
|---|---|
| public BeanCreatingHandlerProvider(Class<? extends T> handlerType) | |
| destroy | back to summary |
|---|---|
| public void destroy(T handler) | |
| getHandler | back to summary |
|---|---|
| public T getHandler() | |
| getHandlerType | back to summary |
|---|---|
| public Class | |
| setBeanFactory | back to summary |
|---|---|
| public void setBeanFactory(BeanFactory beanFactory) Implements org. Doc from org. Callback that supplies the owning factory to a bean instance. Invoked after the population of normal bean properties
but before an initialization callback such as
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |