Class HybridHttpHandlerFactoryBean
- java.lang.Object
-
- com.aspectran.undertow.server.http.HybridHttpHandlerFactory
-
- com.aspectran.undertow.server.http.HybridHttpHandlerFactoryBean
-
- All Implemented Interfaces:
DisposableBean
,FactoryBean<io.undertow.server.HttpHandler>
,InitializableBean
,ActivityContextAware
,Aware
public class HybridHttpHandlerFactoryBean extends HybridHttpHandlerFactory 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.HttpHandler
getObject()
Return an instance (possibly shared or independent) of the object managed by this factory.void
initialize()
Invoke on initialization after it has set all bean properties supplied.-
Methods inherited from class com.aspectran.undertow.server.http.HybridHttpHandlerFactory
createHandler, destroy, setActivityContext, setAspectranConfig, setOuterHandlerChainWrappers, setResourceManager, setSessionConfig, setSessionManager, setStaticResourceHandler, setTowServer
-
-
-
-
Method Detail
-
initialize
public void initialize() throws java.lang.Exception
Description copied from interface:InitializableBean
Invoke on initialization after it has set all bean properties supplied.- Specified by:
initialize
in interfaceInitializableBean
- Throws:
java.lang.Exception
- if initialization fails
-
getObject
public io.undertow.server.HttpHandler getObject() throws java.lang.Exception
Description copied from interface:FactoryBean
Return 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:
getObject
in interfaceFactoryBean<io.undertow.server.HttpHandler>
- Returns:
- an instance of the bean (can be null)
- Throws:
java.lang.Exception
- in case of creation errors
-
-