org.apache.geronimo.kernel.config
Class DebugLoggingLifecycleMonitor

java.lang.Object
  extended by org.apache.geronimo.kernel.config.DebugLoggingLifecycleMonitor
All Implemented Interfaces:
LifecycleMonitor

public class DebugLoggingLifecycleMonitor
extends Object
implements LifecycleMonitor


Constructor Summary
DebugLoggingLifecycleMonitor(org.apache.commons.logging.Log log)
           
 
Method Summary
 void addConfiguration(Artifact configurationId)
          Adds a configuration to be monitored.
 void failed(Artifact configurationId, Throwable cause)
          The previous operation on the specified configuration has failed due to the specified exception.
 void finished()
          The operation on the configuration manager has finished.
 void loading(Artifact configurationId)
          The configuration manager has begun loading the specified configuration.
 void reading(Artifact configurationId)
          The configuration manager has started reading the specified configuration.
 void resolving(Artifact configurationId)
          The configuration manager has started resolving the dependencies of the specified configuration.
 void starting(Artifact configurationId)
          The configuration manager has begun starting the specified configuration.
 void stopping(Artifact configurationId)
          The configuration manager has begun stopping the specified configuration.
 void succeeded(Artifact configurationId)
          The previous operation on the specified configuration has completed successfully.
 void unloading(Artifact configurationId)
          The configuration manager has begun unloading the specified configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugLoggingLifecycleMonitor

public DebugLoggingLifecycleMonitor(org.apache.commons.logging.Log log)
Method Detail

addConfiguration

public void addConfiguration(Artifact configurationId)
Description copied from interface: LifecycleMonitor
Adds a configuration to be monitored.

Specified by:
addConfiguration in interface LifecycleMonitor
Parameters:
configurationId - the configuration identifier

resolving

public void resolving(Artifact configurationId)
Description copied from interface: LifecycleMonitor
The configuration manager has started resolving the dependencies of the specified configuration.

Specified by:
resolving in interface LifecycleMonitor
Parameters:
configurationId - the configuration identifier

reading

public void reading(Artifact configurationId)
Description copied from interface: LifecycleMonitor
The configuration manager has started reading the specified configuration.

Specified by:
reading in interface LifecycleMonitor
Parameters:
configurationId - the configuration identifier

loading

public void loading(Artifact configurationId)
Description copied from interface: LifecycleMonitor
The configuration manager has begun loading the specified configuration.

Specified by:
loading in interface LifecycleMonitor
Parameters:
configurationId - the configuration identifier

starting

public void starting(Artifact configurationId)
Description copied from interface: LifecycleMonitor
The configuration manager has begun starting the specified configuration.

Specified by:
starting in interface LifecycleMonitor
Parameters:
configurationId - the configuration identifier

stopping

public void stopping(Artifact configurationId)
Description copied from interface: LifecycleMonitor
The configuration manager has begun stopping the specified configuration.

Specified by:
stopping in interface LifecycleMonitor
Parameters:
configurationId - the configuration identifier

unloading

public void unloading(Artifact configurationId)
Description copied from interface: LifecycleMonitor
The configuration manager has begun unloading the specified configuration.

Specified by:
unloading in interface LifecycleMonitor
Parameters:
configurationId - the configuration identifier

succeeded

public void succeeded(Artifact configurationId)
Description copied from interface: LifecycleMonitor
The previous operation on the specified configuration has completed successfully.

Specified by:
succeeded in interface LifecycleMonitor
Parameters:
configurationId - the configuration identifier

failed

public void failed(Artifact configurationId,
                   Throwable cause)
Description copied from interface: LifecycleMonitor
The previous operation on the specified configuration has failed due to the specified exception.

Specified by:
failed in interface LifecycleMonitor
Parameters:
configurationId - the configuration identifier

finished

public void finished()
Description copied from interface: LifecycleMonitor
The operation on the configuration manager has finished.

Specified by:
finished in interface LifecycleMonitor


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.