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.BeanNameAware
public String getBeanName()
getBeanName
in interface org.springframework.beans.factory.NamedBean
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public LoggerAdaptor getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<LoggerAdaptor>
Exception
public 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–2019 JBoss by Red Hat. All rights reserved.