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.Map<javax.xml.namespace.QName,java.util.List<InstanceInfo>> listInstance()
          Deprecated.  
 java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> listInstanceStatus()
          Deprecated.  
 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()

listInstanceStatus

@Deprecated
java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> listInstanceStatus()
Deprecated. 

Returns the status on created instances for all deployed processes.

Returns:
The map containing these status.
Key is the qualified name of the process.
Value is the list of status for the instances of the process pointed by the key.

listInstance

@Deprecated
java.util.Map<javax.xml.namespace.QName,java.util.List<InstanceInfo>> listInstance()
Deprecated. 

Returns the informations on created instances for all deployed processes.

Returns:
The map containing these informations.
Key is the qualified name of the process.
Value is the list of objects containing the information for the instances of the process pointed by the key.


Copyright © 2008 OW2 Consortium. All Rights Reserved.