org.ow2.orchestra.jmxclient
Class UndeployAction

java.lang.Object
  extended by org.ow2.orchestra.jmxclient.UndeployAction
All Implemented Interfaces:
ClientAction

public class UndeployAction
extends Object
implements ClientAction


Constructor Summary
UndeployAction()
           
 
Method Summary
 String getDescription()
           
 org.apache.commons.cli.Options getOptions()
           
 boolean parseAndExecute(String[] args)
           
protected static void undeploy(org.apache.commons.cli.CommandLine line)
          Undeploys a process
static boolean undeploy(QName processQName, String jmxServiceUrl, String jmxObjectName)
          Undeploys a BPEL process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UndeployAction

public UndeployAction()
Method Detail

undeploy

public static boolean undeploy(QName processQName,
                               String jmxServiceUrl,
                               String jmxObjectName)
Undeploys a BPEL process

Parameters:
processQName - name of the process to undeploy
jmxServiceUrl - url of the jmx service
jmxObjectName - name of the remote deployer
Returns:
true if the process was successfully removed.

undeploy

protected static void undeploy(org.apache.commons.cli.CommandLine line)
Undeploys a process

Parameters:
line - parsed command line

parseAndExecute

public boolean parseAndExecute(String[] args)
Specified by:
parseAndExecute in interface ClientAction

getOptions

public org.apache.commons.cli.Options getOptions()
Specified by:
getOptions in interface ClientAction

getDescription

public String getDescription()
Specified by:
getDescription in interface ClientAction


Copyright © 2012 OW2 Consortium. All Rights Reserved.