org.apache.avalon.phoenix
Class ApplicationEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.apache.avalon.phoenix.ApplicationEvent
All Implemented Interfaces:
Serializable

public final class ApplicationEvent
extends EventObject

This is the class that is used to deliver notifications about Application state changes to the ApplicationListeners of a Server Application.

Author:
Peter Donald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ApplicationEvent(String name, SarMetaData sarMetaData)
          Construct the ApplicationEvent.
 
Method Summary
 String getName()
          Retrieve name of app.
 SarMetaData getSarMetaData()
          Retrieve the SarMetaData for app.
 
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

ApplicationEvent

public ApplicationEvent(String name,
                        SarMetaData sarMetaData)
Construct the ApplicationEvent.

Parameters:
name - the name of app
sarMetaData - the SarMetaData object for app
Method Detail

getName

public String getName()
Retrieve name of app.

Returns:
the name of app

getSarMetaData

public SarMetaData getSarMetaData()
Retrieve the SarMetaData for app.

Returns:
the SarMetaData for app


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.