public interface ManagementAPI
Modifier and Type | Method and Description |
---|---|
boolean |
activate(ProcessDefinitionUUID processDefinitionUUID)
Mark the process with the given UUID as retired.
|
ProcessDefinition |
deploy(Deployment deployment)
To deploy the package giving the deployment object.
|
ProcessDefinition |
deployBar(byte[] barFile)
To deploy a process giving the bytes table of an archive file.
|
void |
deployWebServices(ProcessDefinitionUUID processDefinitionUUID)
Deploy web services for the process processDefinitionUUID on this server.
|
void |
initialize()
Redeploy all web services.
|
void |
refreshProcess(ProcessDefinitionUUID processDefinitionUUID)
Refresh the process state from the database (used to propagate process information in a cluster).
|
boolean |
remove(ProcessDefinitionUUID processDefinitionUUID)
To delete monitoring information on the process giving the uuid of the process.
|
boolean |
retire(ProcessDefinitionUUID processDefinitionUUID)
Activate the process with the given uuid.
|
boolean |
undeploy(ProcessDefinitionUUID processDefinitionUUID)
To undeploy the process giving the uuid of the process.
|
boolean |
undeploy(QName processQName)
To undeploy the process giving the qualified name of the process.
|
void |
undeployWebServices(ProcessDefinitionUUID processDefinitionUUID)
Undeploy web services for the process processDefinitionUUID on this server.
|
ProcessDefinition deployBar(byte[] barFile)
barFile
- The bytes table of the bar file.ProcessDefinition deploy(Deployment deployment)
deployment
- The deployment object that should contain the bpel file and the wsdl definitions.boolean undeploy(QName processQName)
processQName
- The qualified name.boolean undeploy(ProcessDefinitionUUID processDefinitionUUID)
processDefinitionUUID
- te uuid of the processboolean remove(ProcessDefinitionUUID processDefinitionUUID)
processDefinitionUUID
- te uuid of the processvoid initialize()
void deployWebServices(ProcessDefinitionUUID processDefinitionUUID)
processDefinitionUUID
- void undeployWebServices(ProcessDefinitionUUID processDefinitionUUID)
processDefinitionUUID
- boolean retire(ProcessDefinitionUUID processDefinitionUUID) throws ProcessNotFoundException
retire(ProcessDefinitionUUID)
.
New instances of the process will use this version of the process.processDefinitionUUID
- the uuid of the process definition.true
if the process has been set to active. false
if the process was already active.ProcessNotFoundException
- if processDefinitionUUID cannot be foundboolean activate(ProcessDefinitionUUID processDefinitionUUID) throws ProcessNotFoundException
processDefinitionUUID
- the uuid of the process definition.true
if the process has been set to retired. false
if the process was already retired.ProcessNotFoundException
- if processDefinitionUUID cannot be foundvoid refreshProcess(ProcessDefinitionUUID processDefinitionUUID)
processDefinitionUUID
- the uuid of the process definition.Copyright © 2011 OW2 Consortium. All Rights Reserved.