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 initialize()
          Redeploy all web services.
 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.
 

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.

initialize

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



Copyright © 2009 OW2 Consortium. All Rights Reserved.