Class BeanCreatingHandlerProvider<T>
java.lang.Object
org.springframework.web.socket.handler.BeanCreatingHandlerProvider<T>
- Type Parameters:
- T- the handler type
- All Implemented Interfaces:
- Aware,- BeanFactoryAware
Instantiates a target handler through a Spring 
BeanFactory and also provides
 an equivalent destroy method. Mainly for internal use to assist with initializing and
 destroying handlers with per-connection lifecycle.- Since:
- 4.0
- Author:
- Rossen Stoyanchev
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidsetBeanFactory(BeanFactory beanFactory) Callback that supplies the owning factory to a bean instance.toString()
- 
Constructor Details- 
BeanCreatingHandlerProvider
 
- 
- 
Method Details- 
setBeanFactoryDescription copied from interface:BeanFactoryAwareCallback that supplies the owning factory to a bean instance.Invoked after the population of normal bean properties but before an initialization callback such as InitializingBean.afterPropertiesSet()or a custom init-method.- Specified by:
- setBeanFactoryin interface- BeanFactoryAware
- Parameters:
- beanFactory- owning BeanFactory (never- null). The bean can immediately call methods on the factory.
- See Also:
 
- 
destroy
- 
getHandlerType
- 
getHandler
- 
toString
 
-