org.apache.cocoon.core.container.spring.logger
Class ChildLoggerFactoryBean

java.lang.Object
  extended byorg.apache.cocoon.core.container.spring.logger.LoggerFactoryBean
      extended byorg.apache.cocoon.core.container.spring.logger.ChildLoggerFactoryBean
All Implemented Interfaces:
BeanFactoryAware, FactoryBean

public class ChildLoggerFactoryBean
extends LoggerFactoryBean
implements FactoryBean, BeanFactoryAware

Spring factory bean to setup a child Commons Logging logger.

Since:
2.2
Version:
$Id: ChildLoggerFactoryBean.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
ChildLoggerFactoryBean()
           
 
Method Summary
 Object getObject()
           
 Class getObjectType()
           
 void init()
           
 boolean isSingleton()
           
 void setBeanFactory(BeanFactory factory)
           
 
Methods inherited from class org.apache.cocoon.core.container.spring.logger.LoggerFactoryBean
getCategory, setCategory, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildLoggerFactoryBean

public ChildLoggerFactoryBean()
Method Detail

setBeanFactory

public void setBeanFactory(BeanFactory factory)
                    throws BeansException
Specified by:
setBeanFactory in interface BeanFactoryAware
Throws:
BeansException
See Also:
BeanFactoryAware.setBeanFactory(BeanFactory)

init

public void init()
Overrides:
init in class LoggerFactoryBean

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface FactoryBean
Overrides:
getObject in class LoggerFactoryBean
Throws:
Exception
See Also:
FactoryBean.getObject()

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface FactoryBean
Overrides:
getObjectType in class LoggerFactoryBean
See Also:
FactoryBean.getObjectType()

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean
Overrides:
isSingleton in class LoggerFactoryBean
See Also:
FactoryBean.isSingleton()


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.