ch.elca.el4j.util.logging
Class Log4jXmlLoader

java.lang.Object
  extended by ch.elca.el4j.util.logging.Log4jXmlLoader
All Implemented Interfaces:
BeanNameAware, InitializingBean

public class Log4jXmlLoader
extends Object
implements InitializingBean, BeanNameAware

This class is used to load a freely choosable log4j xml configuration file.

Author:
Martin Zeltner (MZE)
File-location:
Log4jXmlLoader
Last check-in date:
2010-01-06 16:10:41 +0100 (Mi, 06. Jan 2010) by swisswheel for revision 4076

Constructor Summary
Log4jXmlLoader()
           
 
Method Summary
 void afterPropertiesSet()
          
 String getBeanName()
           
 String getConfigLocation()
           
 void setBeanName(String beanName)
          
 void setConfigLocation(String configLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jXmlLoader

public Log4jXmlLoader()
Method Detail

getConfigLocation

public String getConfigLocation()
Returns:
Returns the configLocation.

setConfigLocation

public void setConfigLocation(String configLocation)
Parameters:
configLocation - The configLocation to set.

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

setBeanName

public void setBeanName(String beanName)

Specified by:
setBeanName in interface BeanNameAware

getBeanName

public String getBeanName()
Returns:
Returns the beanName.


Copyright © 2005-2011 ELCA. All Rights Reserved.