org.ow2.orchestra.facade.jmx
Interface RemoteDeployerMBean

All Superinterfaces:
QuerierRuntimeAPI

public interface RemoteDeployerMBean
extends QuerierRuntimeAPI


Method Summary
 ProcessDefinitionData deploy(Deployment deployment)
          To deploy the package giving the deployment object.
 ProcessDefinitionData deployBar(byte[] barFile)
          To deploy a process giving the bytes table of an archive file.
 void initialize()
           
 java.util.List<ProcessDefinitionData> listProcess()
          Returns the list of deployed processes.
 boolean undeploy(javax.xml.namespace.QName processQName)
          To undeploy the process giving the qualified name of the process.
 
Methods inherited from interface org.ow2.orchestra.facade.QuerierRuntimeAPI
findActivityInstances, findActivityInstances, findProcessInstances, findProcessInstances, findProcessInstances, findProcessInstances
 

Method Detail

deployBar

ProcessDefinitionData 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 qualified name of the deployed process.

deploy

ProcessDefinitionData 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 qualified name 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.

listProcess

java.util.List<ProcessDefinitionData> listProcess()
Returns the list of deployed processes.

Returns:
The list of process definition data for deployed processes.

initialize

void initialize()


Copyright © 2009 OW2 Consortium. All Rights Reserved.