org.ow2.orchestra.rest.client
Class JaxRSManagementAPIClient

java.lang.Object
  extended by org.ow2.orchestra.rest.client.JaxRSManagementAPIClient
All Implemented Interfaces:
ManagementAPI

public class JaxRSManagementAPIClient
extends Object
implements ManagementAPI

Author:
Guillaume Porcher

Constructor Summary
JaxRSManagementAPIClient(String orchestraURL)
           
 
Method Summary
 boolean activate(ProcessDefinitionUUID processDefinitionUUID)
           
 ProcessDefinition deploy(Deployment deployment)
           
 ProcessDefinition deployBar(byte[] barFile)
           
 void deployWebServices(ProcessDefinitionUUID processDefinitionUUID)
           
 void initialize()
           
 boolean isExtensionSupported(String namespace)
           
 void refreshProcess(ProcessDefinitionUUID processDefinitionUUID)
           
 boolean remove(ProcessDefinitionUUID processDefinitionUUID)
           
 boolean retire(ProcessDefinitionUUID processDefinitionUUID)
           
 boolean undeploy(ProcessDefinitionUUID processDefinitionUUID)
           
 boolean undeploy(QName processQName)
           
 void undeployWebServices(ProcessDefinitionUUID processDefinitionUUID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxRSManagementAPIClient

public JaxRSManagementAPIClient(String orchestraURL)
Method Detail

deployBar

public ProcessDefinition deployBar(byte[] barFile)
Specified by:
deployBar in interface ManagementAPI

deploy

public ProcessDefinition deploy(Deployment deployment)
Specified by:
deploy in interface ManagementAPI

undeploy

public boolean undeploy(QName processQName)
Specified by:
undeploy in interface ManagementAPI

undeploy

public boolean undeploy(ProcessDefinitionUUID processDefinitionUUID)
Specified by:
undeploy in interface ManagementAPI

remove

public boolean remove(ProcessDefinitionUUID processDefinitionUUID)
Specified by:
remove in interface ManagementAPI

initialize

public void initialize()
Specified by:
initialize in interface ManagementAPI

deployWebServices

public void deployWebServices(ProcessDefinitionUUID processDefinitionUUID)
Specified by:
deployWebServices in interface ManagementAPI

undeployWebServices

public void undeployWebServices(ProcessDefinitionUUID processDefinitionUUID)
Specified by:
undeployWebServices in interface ManagementAPI

retire

public boolean retire(ProcessDefinitionUUID processDefinitionUUID)
               throws ProcessNotFoundException
Specified by:
retire in interface ManagementAPI
Throws:
ProcessNotFoundException

activate

public boolean activate(ProcessDefinitionUUID processDefinitionUUID)
                 throws ProcessNotFoundException
Specified by:
activate in interface ManagementAPI
Throws:
ProcessNotFoundException

refreshProcess

public void refreshProcess(ProcessDefinitionUUID processDefinitionUUID)
Specified by:
refreshProcess in interface ManagementAPI

isExtensionSupported

public boolean isExtensionSupported(String namespace)
Specified by:
isExtensionSupported in interface ManagementAPI


Copyright © 2011 OW2 Consortium. All Rights Reserved.