org.qi4j.api.activation
Class ActivationEvent
java.lang.Object
org.qi4j.api.activation.ActivationEvent
public final class ActivationEvent
- extends java.lang.Object
ActivationEvents are fired during activation and passivation of instances in Qi4j.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActivationEvent
public ActivationEvent(java.lang.Object source,
ActivationEvent.EventType type)
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()