net.artima.place
Class ActivationEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--net.artima.place.ActivationEvent
All Implemented Interfaces:
java.io.Serializable

public class ActivationEvent
extends java.util.EventObject

Event passed to the methods of ActivationListener to indicate an activation completed because of success, failure, or abort.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ActivationEvent(Link source)
          Constructs an ActivationEvent with no localized message.
ActivationEvent(Link source, java.lang.String message)
          Constructs an ActivationEvent with a localized message.
 
Method Summary
 java.lang.String getMessage()
          Returns a localized message, suitable for display to a user.
 
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

ActivationEvent

public ActivationEvent(Link source)
Constructs an ActivationEvent with no localized message.

ActivationEvent

public ActivationEvent(Link source,
                       java.lang.String message)
Constructs an ActivationEvent with a localized message.
Method Detail

getMessage

public java.lang.String getMessage()
Returns a localized message, suitable for display to a user. Clients may present this message to the user, or ignore it. It may be of most interest to users in case an activation fails, to give the user a bit more information about what went wrong. If no message is available, this method returns an empty String. This method never returns null.