org.ow2.orchestra.jmxclient
Class DeployBarAction
java.lang.Object
org.ow2.orchestra.jmxclient.DeployBarAction
- All Implemented Interfaces:
- ClientAction
public class DeployBarAction
- extends java.lang.Object
- implements ClientAction
|
Method Summary |
static ProcessDefinition |
deployBar(byte[] barBytes,
java.lang.String jmxServiceUrl,
java.lang.String jmxObjectName)
Deploy a BPEL process from a Bar |
protected static void |
deployBar(org.apache.commons.cli.CommandLine line)
Deploy a process |
static ProcessDefinition |
deployBar(java.net.URL barFile,
java.lang.String jmxServiceUrl,
java.lang.String jmxObjectName)
Deploy a BPEL process from a Bar |
java.lang.String |
getDescription()
|
org.apache.commons.cli.Options |
getOptions()
|
boolean |
parseAndExecute(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeployBarAction
public DeployBarAction()
deployBar
public static ProcessDefinition deployBar(java.net.URL barFile,
java.lang.String jmxServiceUrl,
java.lang.String jmxObjectName)
- Deploy a BPEL process from a Bar
- Parameters:
barFile - URL of the bar file to deployjmxServiceUrl - url of the jmx servicejmxObjectName - name of the remote deployer
- Returns:
- QName of the deployed process
deployBar
public static ProcessDefinition deployBar(byte[] barBytes,
java.lang.String jmxServiceUrl,
java.lang.String jmxObjectName)
- Deploy a BPEL process from a Bar
- Parameters:
barBytes - bytes array of the bar file to deployjmxServiceUrl - url of the jmx servicejmxObjectName - name of the remote deployer
- Returns:
- QName of the deployed process
deployBar
protected static void deployBar(org.apache.commons.cli.CommandLine line)
- Deploy a process
- Parameters:
line - parsed command line
parseAndExecute
public boolean parseAndExecute(java.lang.String[] args)
- Specified by:
parseAndExecute in interface ClientAction
getOptions
public org.apache.commons.cli.Options getOptions()
- Specified by:
getOptions in interface ClientAction
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface ClientAction
Copyright © 2010 OW2 Consortium. All Rights Reserved.