org.qi4j.api.activation
Class ActivationEvent

java.lang.Object
  extended by org.qi4j.api.activation.ActivationEvent

public final class ActivationEvent
extends java.lang.Object

ActivationEvents are fired during activation and passivation of instances in Qi4j.


Nested Class Summary
static class ActivationEvent.EventType
           
 
Constructor Summary
ActivationEvent(java.lang.Object source, ActivationEvent.EventType type)
           
 
Method Summary
 java.lang.String message()
           
 java.lang.Object source()
           
 java.lang.String toString()
           
 ActivationEvent.EventType type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivationEvent

public ActivationEvent(java.lang.Object source,
                       ActivationEvent.EventType type)
Method Detail

source

public java.lang.Object source()
Returns:
the source of the Activation event

type

public ActivationEvent.EventType type()
Returns:
the type of the Activation event

message

public java.lang.String message()
Returns:
an informative message describing the event

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
message()