org.springframework.beans.factory.config
Class CommonsLogFactoryBean
- public class CommonsLogFactoryBean
- implements FactoryBean
Factory bean for
commons-logging
Log instances.
Will expose the created Log object on getBean calls, and can be passed
to bean properites of type org.apache.commons.logging.Log.
Useful for sharing Log instances among multiple beans instead of using
one Log instance per class name, e.g. for common log topics.
- Author:
- Juergen Hoeller
- Since: 16.11.2003
- See Also: org.apache.commons.logging.Log
getObject
public Object getObject()
getObjectType
public Class getObjectType()
isSingleton
public boolean isSingleton()
setLogName
public void setLogName(String logName)