org.apache.geronimo.kernel.config
Class NullLifecycleMonitor

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

public class NullLifecycleMonitor
extends Object
implements LifecycleMonitor


Field Summary
static NullLifecycleMonitor INSTANCE
           
 
Constructor Summary
NullLifecycleMonitor()
           
 
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 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
 

Field Detail

INSTANCE

public static final NullLifecycleMonitor INSTANCE
Constructor Detail

NullLifecycleMonitor

public NullLifecycleMonitor()
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

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 © 2006 Apache Software Foundation. All Rights Reserved.