org.cid.distribution.plugins.logging
Class GeneralInfoLogComponent

java.lang.Object
  extended by org.cid.distribution.base.DistributionComponentBase
      extended by org.cid.distribution.plugins.logging.GeneralInfoLogComponent
All Implemented Interfaces:
DistributionContextAware, DistributionComponent

public class GeneralInfoLogComponent
extends DistributionComponentBase

The GeneralInfoLogComponent is a simple component that will log some information when it is destroyed, allowing it to log some metrics collected during the process.

Version:
$Revision:111 $

Constructor Summary
GeneralInfoLogComponent()
          Class constructor
 
Method Summary
static void addRules(org.apache.commons.digester.Digester d, java.lang.String patternPrefix)
          Configures additional rules for the commons-digester library.
 void destroy()
          When destroyed, this component logs information about the process.
 
Methods inherited from class org.cid.distribution.base.DistributionComponentBase
getId, init, setDistributionContext, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralInfoLogComponent

public GeneralInfoLogComponent()
Class constructor

Method Detail

addRules

public static void addRules(org.apache.commons.digester.Digester d,
                            java.lang.String patternPrefix)
Configures additional rules for the commons-digester library.


destroy

public void destroy()
             throws DistributionProcessingException,
                    DistributionConfigurationException
When destroyed, this component logs information about the process.

Specified by:
destroy in interface DistributionComponent
Overrides:
destroy in class DistributionComponentBase
Throws:
DistributionProcessingException
DistributionConfigurationException


Copyright © 2006 null. All Rights Reserved.