org.ow2.orchestra.jmxclient
Class LaunchAction

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

public class LaunchAction
extends Object
implements ClientAction


Constructor Summary
LaunchAction()
           
 
Method Summary
 String getDescription()
           
 org.apache.commons.cli.Options getOptions()
           
protected static void launch(org.apache.commons.cli.CommandLine line)
          Call a web service
static javax.xml.soap.SOAPMessage launch(String endPoint, String soapAction, String soapMessage)
          Call a web service
 boolean parseAndExecute(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaunchAction

public LaunchAction()
Method Detail

launch

public static javax.xml.soap.SOAPMessage launch(String endPoint,
                                                String soapAction,
                                                String soapMessage)
Call a web service

Parameters:
endPoint - url of the service
soapAction - SOAP action of the operation
soapMessage - SOAP message to send (without SOAP envelop)
Returns:
result of the call

launch

protected static void launch(org.apache.commons.cli.CommandLine line)
Call a web service

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.