org.ow2.orchestra.jmxclient
Class DeployBarAction

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

public class DeployBarAction
extends Object
implements ClientAction


Constructor Summary
DeployBarAction()
           
 
Method Summary
static ProcessDefinition deployBar(byte[] barBytes, String jmxServiceUrl, 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(URL barFile, String jmxServiceUrl, String jmxObjectName)
          Deploy a BPEL process from a Bar
 String getDescription()
           
 org.apache.commons.cli.Options getOptions()
           
 boolean parseAndExecute(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployBarAction

public DeployBarAction()
Method Detail

deployBar

public static ProcessDefinition deployBar(URL barFile,
                                          String jmxServiceUrl,
                                          String jmxObjectName)
Deploy a BPEL process from a Bar

Parameters:
barFile - URL of the bar file to deploy
jmxServiceUrl - url of the jmx service
jmxObjectName - name of the remote deployer
Returns:
QName of the deployed process

deployBar

public static ProcessDefinition deployBar(byte[] barBytes,
                                          String jmxServiceUrl,
                                          String jmxObjectName)
Deploy a BPEL process from a Bar

Parameters:
barBytes - bytes array of the bar file to deploy
jmxServiceUrl - url of the jmx service
jmxObjectName - 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(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.