Class LoggerFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<LoggerAdaptor>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.NamedBean

    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
    • Constructor Detail

      • LoggerFactoryBean

        public LoggerFactoryBean()
    • Method Detail

      • getInterval

        public int getInterval()
      • setInterval

        public void setInterval​(int interval)
      • getFile

        public String getFile()
      • setFile

        public void setFile​(String file)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • setBeanName

        public void setBeanName​(String name)
        Specified by:
        setBeanName in interface org.springframework.beans.factory.BeanNameAware
      • getBeanName

        public String getBeanName()
        Specified by:
        getBeanName in interface org.springframework.beans.factory.NamedBean
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • getObjectType

        public Class getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<LoggerAdaptor>
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean<LoggerAdaptor>
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception