public class LoggerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<LoggerAdaptor>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.NamedBean, org.springframework.beans.factory.DisposableBean
| Modifier and Type | Field and Description |
|---|---|
protected LoggerAdaptor |
logger |
| Constructor and Description |
|---|
LoggerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
String |
getBeanName() |
String |
getFile() |
int |
getInterval() |
LoggerAdaptor.KNOWLEDGE_LOGGER_TYPE |
getLoggerType() |
String |
getName() |
LoggerAdaptor |
getObject() |
Class |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanName(String name) |
void |
setFile(String file) |
void |
setInterval(int interval) |
void |
setLoggerType(LoggerAdaptor.KNOWLEDGE_LOGGER_TYPE loggerType) |
void |
setName(String name) |
protected LoggerAdaptor logger
public LoggerAdaptor.KNOWLEDGE_LOGGER_TYPE getLoggerType()
public void setLoggerType(LoggerAdaptor.KNOWLEDGE_LOGGER_TYPE loggerType)
public int getInterval()
public void setInterval(int interval)
public String getFile()
public void setFile(String file)
public String getName()
public void setName(String name)
public void setBeanName(String name)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic String getBeanName()
getBeanName in interface org.springframework.beans.factory.NamedBeanpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic LoggerAdaptor getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<LoggerAdaptor>Exceptionpublic Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<LoggerAdaptor>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<LoggerAdaptor>Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.