Package org.hpccsystems.ws.client
Class HPCCWsSMCClient
- java.lang.Object
-
- java.util.Observable
-
- org.hpccsystems.ws.client.utils.DataSingleton
-
- org.hpccsystems.ws.client.BaseHPCCWsClient
-
- org.hpccsystems.ws.client.HPCCWsSMCClient
-
public class HPCCWsSMCClient extends BaseHPCCWsClient
Use as soap client for HPCC WsSMC web service, also known as eclwatch
-
-
Field Summary
Fields Modifier and Type Field Description static String
WSSMCURI
ConstantWSSMCURI="/WsSMC"
-
Fields inherited from class org.hpccsystems.ws.client.BaseHPCCWsClient
DEAFULTECLWATCHPORT, DEFAULTECLWATCHTLSPORT, initErrMessage, log, stub, targetESPInterfaceVer, targetHPCCBuildVersion, targetsContainerizedHPCC, verbose, wsconn
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HPCCWsSMCClient(Connection conn)
Instantiates a new HPCC ws SMC client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HPCCWsSMCClient
get(String protocol, String targetHost, String targetPort, String user, String pass)
Gets the.static HPCCWsSMCClient
get(String protocol, String targetHost, String targetPort, String user, String pass, int timeout)
Gets the.static HPCCWsSMCClient
get(Connection connection)
Gets the.org.hpccsystems.ws.client.wrappers.gen.wssmc.GetBuildInfoResponseWrapper
getBuildInfo()
GetBuildInfo.org.apache.axis2.client.Stub
getDefaultStub()
Gets the default stub.String
getHPCCBuild()
Gets the HPCC build.String
getServiceURI()
Gets the service URI.static int
getServiceWSDLPort()
Gets the service WSDL port.static String
getServiceWSDLURL()
Gets the service WSDLURL.boolean
isContainerized()
Is target ECLWATCH running in container mode.boolean
ping()
Ping.-
Methods inherited from class org.hpccsystems.ws.client.BaseHPCCWsClient
compatibilityCheck, compatibilityCheck, equals, fastRefresh, fullRefresh, getConnectionURL, getInitError, getServiceVersion, getServiceVersion, getServiceWSDLPort, getServiceWSDLURL, getStubConnectionTO, getTargetESPInterfaceVersion, getTargetHPCCBuildVersion, getVerbose, handleECLExceptions, handleECLExceptions, handleEspExceptions, handleEspExceptions, handleEspSoapFaults, handleEspSoapFaults, hashCode, hasInitError, initBaseWsClient, isComplete, isTargetHPCCContainerized, loadESPRuntimeInterfaceVer, setActiveConnectionInfo, setClientAuth, setStubConnectionTO, setStubOptions, setUpBuildVersionParser, setUpContainerizedParser, setUpversionParser, setVerbose, verifyStub
-
Methods inherited from class org.hpccsystems.ws.client.utils.DataSingleton
monitor
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Field Detail
-
WSSMCURI
public static final String WSSMCURI
ConstantWSSMCURI="/WsSMC"
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HPCCWsSMCClient
protected HPCCWsSMCClient(Connection conn)
Instantiates a new HPCC ws SMC client.- Parameters:
conn
- the conn
-
-
Method Detail
-
getServiceURI
public String getServiceURI()
Gets the service URI.- Specified by:
getServiceURI
in classBaseHPCCWsClient
- Returns:
- the service URI
-
getServiceWSDLURL
public static String getServiceWSDLURL()
Gets the service WSDLURL.- Returns:
- the service WSDLURL
-
getServiceWSDLPort
public static int getServiceWSDLPort()
Gets the service WSDL port.- Returns:
- the service WSDL port
-
get
public static HPCCWsSMCClient get(Connection connection)
Gets the.- Parameters:
connection
- the connection- Returns:
- the HPCC ws SMC client
-
get
public static HPCCWsSMCClient get(String protocol, String targetHost, String targetPort, String user, String pass)
Gets the.- Parameters:
protocol
- the protocoltargetHost
- the target hosttargetPort
- the target portuser
- the userpass
- the pass- Returns:
- the HPCC ws SMC client
-
get
public static HPCCWsSMCClient get(String protocol, String targetHost, String targetPort, String user, String pass, int timeout)
Gets the.- Parameters:
protocol
- the protocoltargetHost
- the target hosttargetPort
- the target portuser
- the userpass
- the passtimeout
- the timeout- Returns:
- the HPCC ws SMC client
-
getHPCCBuild
public String getHPCCBuild() throws Exception
Gets the HPCC build.- Returns:
- the HPCC build
- Throws:
Exception
- the exception
-
isContainerized
public boolean isContainerized() throws Exception
Is target ECLWATCH running in container mode.- Returns:
- true, if successful
- Throws:
Exception
- the exception
-
getBuildInfo
public org.hpccsystems.ws.client.wrappers.gen.wssmc.GetBuildInfoResponseWrapper getBuildInfo() throws Exception
GetBuildInfo.- Returns:
- GetBuildInfoResponseWrapper
- Throws:
Exception
- the exception
-
ping
public boolean ping() throws Exception
Ping.- Returns:
- true, if successful
- Throws:
Exception
- the exception
-
getDefaultStub
public org.apache.axis2.client.Stub getDefaultStub() throws org.apache.axis2.AxisFault
Gets the default stub.- Specified by:
getDefaultStub
in classBaseHPCCWsClient
- Returns:
- the default stub
- Throws:
org.apache.axis2.AxisFault
- the axis fault
-
-