Class AccessLogHandlerFactoryBean
- java.lang.Object
-
- com.aspectran.undertow.server.accesslog.AccessLogHandlerFactory
-
- com.aspectran.undertow.server.accesslog.AccessLogHandlerFactoryBean
-
- All Implemented Interfaces:
FactoryBean<io.undertow.server.HttpHandler>,InitializableBean,Aware,ClassLoaderAware
public class AccessLogHandlerFactoryBean extends AccessLogHandlerFactory implements InitializableBean, FactoryBean<io.undertow.server.HttpHandler>
Created: 2019-08-18
-
-
Field Summary
-
Fields inherited from interface com.aspectran.core.component.bean.ablility.FactoryBean
FACTORY_METHOD_NAME
-
-
Constructor Summary
Constructors Constructor Description AccessLogHandlerFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.undertow.server.handlers.accesslog.AccessLogHandlergetObject()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.accesslog.AccessLogHandlerFactory
createAccessLogHandler, setCategory, setClassLoader, setFormatString, setHandler
-
-
-
-
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.handlers.accesslog.AccessLogHandler 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
-
-