org.jmonks.batch.framework.config.xml
Class XMLJobLoggingConfig

java.lang.Object
  extended byorg.jmonks.batch.framework.config.JobLoggingConfig
      extended byorg.jmonks.batch.framework.config.xml.XMLJobLoggingConfig

public class XMLJobLoggingConfig
extends JobLoggingConfig

Reads the job logging configuration from the XML job configuration file.

Since:
1.0
Version:
1.0
Author:
Suresh Pragada

Nested Class Summary
 
Nested classes inherited from class org.jmonks.batch.framework.config.JobLoggingConfig
JobLoggingConfig.JobLoggerConfig
 
Field Summary
static java.lang.String JOB_LOGGING_CONFIG_ELEMENT_NAME
          Element name represents the job logging config which is job-logging-config.
 
Constructor Summary
XMLJobLoggingConfig(org.w3c.dom.Element jobLoggingConfigElement)
           Loads the job logging config object from the input element represents job-logging-config element.
 
Methods inherited from class org.jmonks.batch.framework.config.JobLoggingConfig
addLogger, getLoggers, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JOB_LOGGING_CONFIG_ELEMENT_NAME

public static final java.lang.String JOB_LOGGING_CONFIG_ELEMENT_NAME
Element name represents the job logging config which is job-logging-config.

See Also:
Constant Field Values
Constructor Detail

XMLJobLoggingConfig

public XMLJobLoggingConfig(org.w3c.dom.Element jobLoggingConfigElement)

Loads the job logging config object from the input element represents job-logging-config element. This element represents the following XML block.

      <job-logging-config>
           <job-logger-config logger-name="com.mycompany.batch.xyz" logger-level="DEBUG"/>
          <job-logger-config logger-name="com.mycompany.batch.abc.processor" logger-level="ERROR"/>            
      </job-logging-config>        
  

Parameters:
jobLoggingConfigElement - XML DOM Element represents the job-logging-config element.