|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.jini.core.event.RemoteEvent
org.rioproject.event.RemoteServiceEvent
org.rioproject.monitor.ProvisionMonitorEvent
public class ProvisionMonitorEvent
This class is used to communicate state changes on OperationalString and ServiceElements contained within OperationalString objects that are being monitored by the ProvisionMonitor. Interested event consumers register for event notification(s) and are notified as state changes occur relative to OperationalString and ServiceElements within OperationalString objects
| Nested Class Summary | |
|---|---|
static class |
ProvisionMonitorEvent.Action
|
| Field Summary | |
|---|---|
static long |
ID
Unique Event ID |
| Fields inherited from class org.rioproject.event.RemoteServiceEvent |
|---|
date |
| Fields inherited from class net.jini.core.event.RemoteEvent |
|---|
eventID, handback, seqNum, source |
| Constructor Summary | |
|---|---|
ProvisionMonitorEvent(Object source,
ProvisionMonitorEvent.Action action,
OperationalString opString)
Create a ProvisionMonitorEvent for an OperationalString deployment or undeployment, update or OperationaStringManager change |
|
ProvisionMonitorEvent(Object source,
ProvisionMonitorEvent.Action action,
ServiceElement sElem)
Create a ProvisionMonitorEvent for a ServiceElement add, remove or change notification |
|
ProvisionMonitorEvent(Object source,
ProvisionMonitorEvent.Action action,
String opStringName,
ServiceElement sElem,
ServiceBeanInstance instance)
Create a ProvisionMonitorEvent indicating a service provision or failure notification |
|
ProvisionMonitorEvent(Object source,
String opStringName,
ServiceBeanInstance instance)
Create a ProvisionMonitorEvent indicating a ServiceBeanInstance has been updated |
|
ProvisionMonitorEvent(Object source,
String opStringName,
ServiceElement sElem,
ServiceBeanInstance instance,
Object[] args)
Create a ProvisionMonitorEvent indicating a redeployment request has been submitted |
|
| Method Summary | |
|---|---|
ProvisionMonitorEvent.Action |
getAction()
Get the action attribute |
static EventDescriptor |
getEventDescriptor()
Helper method to return the EventDescriptor for this event |
OperationalString |
getOperationalString()
Get the OperationalString attribute. |
String |
getOperationalStringName()
Get the OperationalString name. |
Object[] |
getRedeploymentParms()
Get the Redeployment parameters |
ServiceBeanInstance |
getServiceBeanInstance()
Get the ServiceBeanInstance |
ServiceElement |
getServiceElement()
Get the ServiceElement attribute |
String |
toString()
|
| Methods inherited from class org.rioproject.event.RemoteServiceEvent |
|---|
getDate, setEventID, setHandback, setSequenceNumber |
| Methods inherited from class net.jini.core.event.RemoteEvent |
|---|
getID, getRegistrationObject, getSequenceNumber |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long ID
| Constructor Detail |
|---|
public ProvisionMonitorEvent(Object source,
ProvisionMonitorEvent.Action action,
ServiceElement sElem)
source - The source (originator) of the eventaction - The type of ProvisionMonitorEventsElem - The ServiceElement that changed
public ProvisionMonitorEvent(Object source,
ProvisionMonitorEvent.Action action,
OperationalString opString)
source - The source (originator) of the eventaction - The action the event representsopString - The OperationalString undeployed
public ProvisionMonitorEvent(Object source,
String opStringName,
ServiceBeanInstance instance)
source - The source (originator) of the eventopStringName - The name of the OperationalStringinstance - The ServiceBeanInstance that changed
public ProvisionMonitorEvent(Object source,
ProvisionMonitorEvent.Action action,
String opStringName,
ServiceElement sElem,
ServiceBeanInstance instance)
source - The source (originator) of the eventaction - The action the evet representsopStringName - The name of the OperationalStringsElem - The ServiceElementinstance - The ServiceBeanInstance
public ProvisionMonitorEvent(Object source,
String opStringName,
ServiceElement sElem,
ServiceBeanInstance instance,
Object[] args)
source - The source (originator) of the eventopStringName - The name of the OperationalStringsElem - The ServiceElementinstance - The ServiceBeanInstanceargs - Parameters for a redeployment| Method Detail |
|---|
public ProvisionMonitorEvent.Action getAction()
public String getOperationalStringName()
public ServiceElement getServiceElement()
public OperationalString getOperationalString()
public ServiceBeanInstance getServiceBeanInstance()
public Object[] getRedeploymentParms()
public static EventDescriptor getEventDescriptor()
public String toString()
toString in class EventObject
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||