org.ow2.orchestra.facade
Interface ManagementAPI

All Known Subinterfaces:
RemoteDeployerMBean

public interface ManagementAPI

Management operations.

Author:
Guillaume Porcher

Method Summary
 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.
 boolean remove(ProcessDefinitionUUID processDefinitionUUID)
          To delete monitoring information on the process giving the uuid of the process.
 boolean undeploy(ProcessDefinitionUUID processDefinitionUUID)
          To undeploy the process giving the uuid of the process.
 boolean undeploy(javax.xml.namespace.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.
 

Method Detail

deployBar

ProcessDefinition deployBar(byte[] barFile)
To deploy a process giving the bytes table of an archive file.
The archive should contains the .bpel file and the .wsdl files.

Parameters:
barFile - The bytes table of the bar file.
Returns:
The recorded data of the deployed process.

deploy

ProcessDefinition deploy(Deployment deployment)
To deploy the package giving the deployment object.

Parameters:
deployment - The deployment object that should contain the bpel file and the wsdl definitions.
Returns:
The recorded data of the deployed process.

undeploy

boolean undeploy(javax.xml.namespace.QName processQName)
To undeploy the process giving the qualified name of the process.

Parameters:
processQName - The qualified name.
Returns:
true if the process has been succesfully undeployed otherwise returns false.

undeploy

boolean undeploy(ProcessDefinitionUUID processDefinitionUUID)
To undeploy the process giving the uuid of the process.

Parameters:
processDefinitionUUID - te uuid of the process
Returns:
true if the process has been succesfully undeployed otherwise returns false.

remove

boolean remove(ProcessDefinitionUUID processDefinitionUUID)
To delete monitoring information on the process giving the uuid of the process.

Parameters:
processDefinitionUUID - te uuid of the process
Returns:
true if the process has been succesfully deleted otherwise returns false.

initialize

void initialize()
Redeploy all web services. Use after a reboot to restore the previous environment.


deployWebServices

void deployWebServices(ProcessDefinitionUUID processDefinitionUUID)
Deploy web services for the process processDefinitionUUID on this server.

Parameters:
processDefinitionUUID -

undeployWebServices

void undeployWebServices(ProcessDefinitionUUID processDefinitionUUID)
Undeploy web services for the process processDefinitionUUID on this server.

Parameters:
processDefinitionUUID -


Copyright © 2010 OW2 Consortium. All Rights Reserved.