net.dpml.station
Class RegistryEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.dpml.station.RegistryEvent
All Implemented Interfaces:
Serializable

public class RegistryEvent
extends EventObject

An application registry event.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RegistryEvent(ApplicationRegistry registry, ApplicationDescriptor profile)
          Creation of a new registry event.
 
Method Summary
 ApplicationDescriptor getApplicationDescriptor()
          Return the subject profile.
 ApplicationRegistry getApplicationRegistry()
          Return the source application registry.
 
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
 

Constructor Detail

RegistryEvent

public RegistryEvent(ApplicationRegistry registry,
                     ApplicationDescriptor profile)
Creation of a new registry event.

Parameters:
registry - the source registry
profile - the application profile related to the event
Method Detail

getApplicationRegistry

public ApplicationRegistry getApplicationRegistry()
Return the source application registry.

Returns:
the application registry

getApplicationDescriptor

public ApplicationDescriptor getApplicationDescriptor()
Return the subject profile.

Returns:
the application profile