public final class LifecycleEvent
extends java.util.EventObject
Constructor and Description |
---|
LifecycleEvent(Lifecycle lifecycle,
java.lang.String type,
java.lang.Object data)
Construct a new LifecycleEvent with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData()
Return the event data of this event.
|
Lifecycle |
getLifecycle()
Return the Lifecycle on which this event occurred.
|
java.lang.String |
getType()
Return the event type of this event.
|
public LifecycleEvent(Lifecycle lifecycle, java.lang.String type, java.lang.Object data)
lifecycle
- Component on which this event occurredtype
- Event type (required)data
- Event data (if any)public java.lang.Object getData()
public Lifecycle getLifecycle()
public java.lang.String getType()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.