Redeploy an OperationalString, ServiceElement or ServiceBeanInstance. This method will terminate then reallocate services based on the following criteria:
- If both the ServiceElement and ServiceBeanInstance parameters are null, the OperationalString will be redeployed. All services in the OperationalString will be terminated then redeployed
- If the ServiceElement parameter is not null, this method will terminate then reallocate all deployed services identified by the ServiceElement
- If the ServiceBeanInstance is not null and the ServiceElement is not null, this method will terminate and then reallocate the service identified by the ServiceBeanInstance
@param sElem If not null, the ServiceElement to redeploy
@param instance If not null, and the sElem param is not null, the ServiceBeanInstance to redeploy
@param clean If set to true, the service will be allocated using theServiceElement configuration, not the ServiceBeanInstance configuration
@param delay The amount of time (in milliseconds) to wait until theredeployment is performed. A value > 0 will result in scheduling the redeployment
@param listener If not null, the ServiceProvisionListener will benotified as each service is redeployed
@throws OperationalStringException If there are errors redeploying
@throws RemoteException If communication errors occur