|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.tools.cli.ServiceProvisionNotification
public class ServiceProvisionNotification
Class to handle ServiceProvisionEvent notifications
| Constructor Summary | |
|---|---|
ServiceProvisionNotification(Configuration config)
Create the ServiceProvisionNotification utility |
|
| Method Summary | |
|---|---|
void |
failed(ServiceElement sElem,
boolean resubmitted)
Notify listener that the Service described by the ServiceElement has not been provision succesfully |
static String |
getDeploymentNames(OperationalString deployment)
Get the name(s) of the deployments for an OperationalString. |
TrustVerifier |
getProxyVerifier()
|
ServiceProvisionListener |
getServiceProvisionListener()
Get the ServiceProvisionListener proxy |
void |
notify(int serviceCount,
long maxTimeout)
Set the number of notifications and the timeout |
void |
succeeded(ServiceBeanInstance jsbInstance)
Notify listener that the Service described by the ServiceBeanInstance has been provisioned succesfully |
static int |
sumUpServices(OperationalString deployment)
Sum up all services that need to be deployed |
void |
unexport()
Unexport this utility |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceProvisionNotification(Configuration config)
throws ConfigurationException,
ExportException
config - The configuration
ConfigurationException - If the configuration is no good
ExportException - If the exporter cannot be created| Method Detail |
|---|
public void unexport()
public ServiceProvisionListener getServiceProvisionListener()
public void notify(int serviceCount,
long maxTimeout)
serviceCount - the number of servicesmaxTimeout - The maximum amount of time (in millis) to wait
public void succeeded(ServiceBeanInstance jsbInstance)
throws RemoteException
ServiceProvisionListener
succeeded in interface ServiceProvisionListenerjsbInstance - The ServiceBeanInstance
RemoteException - If communication errors occur
public void failed(ServiceElement sElem,
boolean resubmitted)
throws RemoteException
ServiceProvisionListener
failed in interface ServiceProvisionListenersElem - The ServiceElementresubmitted - Whether the Service described by the ServiceElement
has been resubmitted for provisioning
RemoteException - If communication errors occurpublic TrustVerifier getProxyVerifier()
getProxyVerifier in interface ServerProxyTrustpublic static int sumUpServices(OperationalString deployment)
deployment - The deployed OperationalString
public static String getDeploymentNames(OperationalString deployment)
deployment - The OperationalString
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||