Class LightRequestHandlerFactoryBean
java.lang.Object
com.aspectran.undertow.server.handler.AbstractRequestHandlerFactory
com.aspectran.undertow.server.handler.LightRequestHandlerFactory
com.aspectran.undertow.server.handler.LightRequestHandlerFactoryBean
- All Implemented Interfaces:
DisposableBean
,FactoryBean<io.undertow.server.HttpHandler>
,InitializableBean
,ActivityContextAware
,Aware
public class LightRequestHandlerFactoryBean
extends LightRequestHandlerFactory
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 -
Method Summary
Modifier and TypeMethodDescriptionio.undertow.server.HttpHandler
Return an instance (possibly shared or independent) of the object managed by this factory.void
Invoke on initialization after it has set all bean properties supplied.Methods inherited from class com.aspectran.undertow.server.handler.LightRequestHandlerFactory
createHandler, destroy, setAspectranConfig, setResourceManager, setSessionConfig, setSessionManager, setTowServer
Methods inherited from class com.aspectran.undertow.server.handler.AbstractRequestHandlerFactory
getActivityContext, setActivityContext, setOuterHandlerChainWrappers, wrapHandler
-
Constructor Details
-
LightRequestHandlerFactoryBean
public LightRequestHandlerFactoryBean()
-
-
Method Details
-
initialize
Description copied from interface:InitializableBean
Invoke on initialization after it has set all bean properties supplied.- Specified by:
initialize
in interfaceInitializableBean
- Throws:
Exception
- if initialization fails
-
getObject
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:
Exception
- in case of creation errors
-