org.kuali.common.util.log.log4j
Class DefaultLog4JService

java.lang.Object
  extended by org.kuali.common.util.log.log4j.DefaultLog4JService
All Implemented Interfaces:
Log4JService

public final class DefaultLog4JService
extends Object
implements Log4JService


Constructor Summary
DefaultLog4JService(XmlService service)
           
 
Method Summary
protected  void configure(Document document)
           
 void configure(Element element)
           
 void configure(Log4JConfiguration config)
           
 void configure(Properties properties)
           
 void configure(String location)
           
protected  void configureFromXmlLocation(String location)
           
protected  Document getDocument(InputStream in)
           
protected  Document getDocument(String xml)
           
 XmlService getXmlService()
           
 void reset()
           
 String toXml(Log4JConfiguration config)
           
 void write(File file, Log4JConfiguration config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLog4JService

public DefaultLog4JService(XmlService service)
Method Detail

configure

public void configure(Log4JConfiguration config)
Specified by:
configure in interface Log4JService

reset

public void reset()
Specified by:
reset in interface Log4JService

configure

public void configure(String location)
Specified by:
configure in interface Log4JService

toXml

public String toXml(Log4JConfiguration config)
Specified by:
toXml in interface Log4JService

configure

public void configure(Element element)
Specified by:
configure in interface Log4JService

configure

public void configure(Properties properties)
Specified by:
configure in interface Log4JService

write

public void write(File file,
                  Log4JConfiguration config)
Specified by:
write in interface Log4JService

configure

protected void configure(Document document)

configureFromXmlLocation

protected void configureFromXmlLocation(String location)

getDocument

protected Document getDocument(InputStream in)
                        throws IOException,
                               SAXException,
                               ParserConfigurationException
Throws:
IOException
SAXException
ParserConfigurationException

getDocument

protected Document getDocument(String xml)

getXmlService

public XmlService getXmlService()


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.