Class ServiceEvent

  extended by java.util.EventObject
      extended by atg.nucleus.ServiceEvent
All Implemented Interfaces:

public class ServiceEvent
extends java.util.EventObject

A ServiceEvent encapsulates information related to a ServiceListener's environment on startup and shutdown. This includes the listener's Nucleus, and the service's configuration.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
Fields inherited from class java.util.EventObject
Constructor Summary
ServiceEvent(java.lang.Object pOriginator, java.lang.Object pService, Nucleus pNucleus, Configuration pServiceConfiguration)
          Constructs a new ServiceEvent
Method Summary
 Nucleus getNucleus()
          Returns the Nucleus managing the Service
 java.lang.Object getService()
          Returns the service being started or stopped
 Configuration getServiceConfiguration()
          Returns the Configuration that created the Service
Methods inherited from class java.util.EventObject
getSource, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail


public ServiceEvent(java.lang.Object pOriginator,
                    java.lang.Object pService,
                    Nucleus pNucleus,
                    Configuration pServiceConfiguration)
Constructs a new ServiceEvent

pNucleus - the Nucleus managing the Service
pService - the Service being started or stopped
pServiceConfiguration - the Configuration used to create the Service
Method Detail


public java.lang.Object getService()
Returns the service being started or stopped


public Nucleus getNucleus()
Returns the Nucleus managing the Service


public Configuration getServiceConfiguration()
Returns the Configuration that created the Service