Rio Project 4.2 API Documentation
org.rioproject.monitor
Class ProvisionFailureEvent
java.lang.Object
java.util.EventObject
net.jini.core.event.RemoteEvent
org.rioproject.event.RemoteServiceEvent
org.rioproject.monitor.ProvisionFailureEvent
- All Implemented Interfaces:
- Serializable
public class ProvisionFailureEvent
- extends RemoteServiceEvent
- implements Serializable
This class is used to communicate to interested registrants that a provision
attempt for a particular service was unsuccessful
- Author:
- Dennis Reedy
- See Also:
- Serialized Form
|
Field Summary |
static long |
ID
Unique Event ID |
ID
public static final long ID
- Unique Event ID
- See Also:
- Constant Field Values
ProvisionFailureEvent
public ProvisionFailureEvent(Object source,
ServiceElement sElem,
String reason,
Throwable exception)
- Create a ProvisionFailureEvent with attributes
- Parameters:
source - The originator of the eventsElem - The ServiceElementreason - Reason for the failureexception - An associated Exception (if any)
getServiceElement
public ServiceElement getServiceElement()
- Get the ServiceElement attribute
- Returns:
- The ServiceElement
getReason
public String getReason()
- Get the reason why provisioning failed
- Returns:
- Reason for the failure
getThrowable
public Throwable getThrowable()
- Get the Throwable attribute
- Returns:
- An associated Exception
getEventDescriptor
public static EventDescriptor getEventDescriptor()
toString
public String toString()
- Overrides:
toString in class EventObject
Copyright © 2006-2011 Rio Project. All Rights Reserved.