Class HybridHttpHandlerFactoryBean
- java.lang.Object
-
- com.aspectran.undertow.server.http.HttpHybridHandlerFactory
-
- com.aspectran.undertow.server.http.HybridHttpHandlerFactoryBean
-
- All Implemented Interfaces:
DisposableBean,FactoryBean<io.undertow.server.HttpHandler>,InitializableBean,ActivityContextAware,Aware
public class HybridHttpHandlerFactoryBean extends HttpHybridHandlerFactory implements InitializableBean, FactoryBean<io.undertow.server.HttpHandler>
Created: 06/10/2019
-
-
Field Summary
-
Fields inherited from interface com.aspectran.core.component.bean.ablility.FactoryBean
FACTORY_METHOD_NAME
-
-
Constructor Summary
Constructors Constructor Description HybridHttpHandlerFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.undertow.server.HttpHandlergetObject()Return an instance (possibly shared or independent) of the object managed by this factory.voidinitialize()Invoke on initialization after it has set all bean properties supplied.-
Methods inherited from class com.aspectran.undertow.server.http.HttpHybridHandlerFactory
createHandler, destroy, setActivityContext, setAspectranConfig, setOuterHandlerChainWrappers, setResourceManager, setSessionConfig, setSessionManager, setStaticResourceHandler, setTowServer
-
-
-
-
Method Detail
-
initialize
public void initialize() throws java.lang.ExceptionDescription copied from interface:InitializableBeanInvoke on initialization after it has set all bean properties supplied.- Specified by:
initializein interfaceInitializableBean- Throws:
java.lang.Exception- if initialization fails
-
getObject
public io.undertow.server.HttpHandler getObject() throws java.lang.ExceptionDescription copied from interface:FactoryBeanReturn an instance (possibly shared or independent) of the object managed by this factory. As with a BeanFactory, this allows support for both the Singleton and Prototype design pattern.- Specified by:
getObjectin interfaceFactoryBean<io.undertow.server.HttpHandler>- Returns:
- an instance of the bean (can be null)
- Throws:
java.lang.Exception- in case of creation errors
-
-