net.dpml.component
Class StatusEvent
java.lang.Object
java.util.EventObject
net.dpml.component.StatusEvent
- All Implemented Interfaces:
- Serializable
public class StatusEvent
- extends EventObject
Event triggered as a result of change to the value of a context entry.
- Version:
- 1.0.4
- Author:
- Digital Product Meta Library
- See Also:
- Serialized Form
StatusEvent
public StatusEvent(Provider source,
Status oldStatus,
Status newStatus)
- Construct a new
StatusEvent
.
- Parameters:
source
- the source provideroldStatus
- the initial provider statusnewStatus
- the new provider status
getOldStatus
public Status getOldStatus()
- Return the prior status value.
- Returns:
- the provider status prior to the status change
getNewStatus
public Status getNewStatus()
- Return the status value.
- Returns:
- the provider status
getProvider
public Provider getProvider()
- Return the component model that initiating the event.
- Returns:
- the source model