weborb.config
Class LoggingConfig

java.lang.Object
  extended by weborb.config.LoggingConfig
All Implemented Interfaces:
IConfigConstants

public class LoggingConfig
extends java.lang.Object
implements IConfigConstants

LoggingConfig

Author:
Midnight Coders, LLC

Field Summary
 
Fields inherited from interface weborb.config.IConfigConstants
ABSTRACTCLASSMAPPING, ABSTRACTCLASSMAPPINGS, ACTIVATIONMODENAME, ACTIVATOR, BUFFERSIZE, BUSINESSINTELLIGENCE, CALLSPERFILE, CALLTRACE, CLASSMAPPING, CLASSMAPPINGS, CLASSNAME, CLIENTCLASS, CUSTOMWRITER, CUSTOMWRITERS, DATACOLLECTIONAGENT, DATASETS, DEFAULTPAGESIZE, ENABLE, ENABLECALLTRACE, LOG, LOGTOFILE, MAPPEDCLASSNAME, MONITOREDSERVICE, MONITOREDSERVICES, NAME, PERSISTENTWEBSERVICESSTORE, PROTOCOLHANDLER, QUEUECHECKWAITTIME, QUEUEFLUSHTHRESHOLD, RBISERVERCONFIGURATION, REACTIVATEEXPIREDSESSIONS, READINGFORMATDEFINITION, READINGFORMATDEFINITIONS, READINGINDICATOR, READINGINDICATORS, SERIALIZATION, SERVERCLASS, SERVICE, SERVICEBROWSER, SERVICEID, SERVICEINSPECTOR, SERVICEINVOKER, SERVICES, WEB_INF_CLASSES, WEBORB_CONFIG_XML, WEBORB_DEFAULT_CONFIG_XML, WRITERCLASSNAME, YES
 
Constructor Summary
LoggingConfig()
           
 
Method Summary
 void configure(org.jdom.Element root)
           
 void enableCategory(java.lang.String category, boolean enabled)
           
 org.jdom.Element getConfigNode()
           
 ILoggingPolicy getCurrentPolicy()
           
 java.util.Hashtable getLoggingPolicies()
           
 void setCurrentPolicy(ILoggingPolicy policy)
           
 void setLoggingPolicy(java.lang.String loggerName, ILoggingPolicy policy)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingConfig

public LoggingConfig()
Method Detail

configure

public void configure(org.jdom.Element root)
               throws java.io.IOException
Parameters:
root -
Throws:
java.io.IOException

setLoggingPolicy

public void setLoggingPolicy(java.lang.String loggerName,
                             ILoggingPolicy policy)
Parameters:
loggerName -
policy -

getCurrentPolicy

public ILoggingPolicy getCurrentPolicy()

setCurrentPolicy

public void setCurrentPolicy(ILoggingPolicy policy)
                      throws java.io.IOException
Parameters:
policy -
Throws:
java.io.IOException

getLoggingPolicies

public java.util.Hashtable getLoggingPolicies()
Returns:

getConfigNode

public org.jdom.Element getConfigNode()

enableCategory

public void enableCategory(java.lang.String category,
                           boolean enabled)


Discuss WebORB

Copyright 2003-2008 Midnight Coders, Inc. All Rights Reserved.