public final class DefaultLog4JService extends Object implements Log4JService
| Constructor and Description |
|---|
DefaultLog4JService(XmlService service) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public DefaultLog4JService(XmlService service)
public void configure(Log4JConfiguration config)
configure in interface Log4JServicepublic void reset()
reset in interface Log4JServicepublic void configure(String location)
configure in interface Log4JServicepublic String toXml(Log4JConfiguration config)
toXml in interface Log4JServicepublic void configure(Element element)
configure in interface Log4JServicepublic void configure(Properties properties)
configure in interface Log4JServicepublic void write(File file, Log4JConfiguration config)
write in interface Log4JServiceprotected void configureFromXmlLocation(String location)
protected Document getDocument(InputStream in) throws IOException, SAXException, ParserConfigurationException
protected Document getDocument(String xml)
public XmlService getXmlService()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.