Package org.hpccsystems.ws.client
Class HPCCWsResourcesClient
- java.lang.Object
-
- java.util.Observable
-
- org.hpccsystems.ws.client.utils.DataSingleton
-
- org.hpccsystems.ws.client.BaseHPCCWsClient
-
- org.hpccsystems.ws.client.HPCCWsResourcesClient
-
public class HPCCWsResourcesClient extends BaseHPCCWsClient
Facilitates discovery of containerized HPCC Systems resources.
-
-
Field Summary
Fields Modifier and Type Field Description static StringWSRESOURCESURIConstantWSRESOURCESURI="/WsResources"-
Fields inherited from class org.hpccsystems.ws.client.BaseHPCCWsClient
DEAFULTECLWATCHPORT, DEFAULTECLWATCHTLSPORT, initErrMessage, stub, targetESPInterfaceVer, targetHPCCBuildVersion, targetsContainerizedHPCC, verbose, wsconn
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHPCCWsResourcesClient(Connection baseConnection)Instantiates a new HPCC WSRESOURCES client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HPCCWsResourcesClientget(String protocol, String targetHost, String targetPort, String user, String pass)Gets the.static HPCCWsResourcesClientget(String protocol, String targetHost, String targetPort, String user, String pass, int timeout)Gets the.static HPCCWsResourcesClientget(Connection connection)Gets the.org.apache.axis2.client.StubgetDefaultStub()Gets the default stub.StringgetServiceURI()Gets the service URI.static intgetServiceWSDLPort()Gets the service WSDL port.static StringgetServiceWSDLURL()Gets the service WSDLURL.protected voidinitWsResourcesClientStub(Connection conn)Initializes the service's underlying stub Should only be used by constructors.booleanping()Ping.org.hpccsystems.ws.client.wrappers.gen.wsresources.ServiceQueryResponseWrapperserviceQuery(org.hpccsystems.ws.client.wrappers.gen.wsresources.ServiceQueryRequestWrapper req)Submit service query request-
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
-
WSRESOURCESURI
public static final String WSRESOURCESURI
ConstantWSRESOURCESURI="/WsResources"- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HPCCWsResourcesClient
protected HPCCWsResourcesClient(Connection baseConnection)
Instantiates a new HPCC WSRESOURCES client.- Parameters:
baseConnection- the base connection
-
-
Method Detail
-
getServiceURI
public String getServiceURI()
Gets the service URI.- Specified by:
getServiceURIin 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
-
getDefaultStub
public org.apache.axis2.client.Stub getDefaultStub() throws org.apache.axis2.AxisFaultGets the default stub.- Specified by:
getDefaultStubin classBaseHPCCWsClient- Returns:
- the default stub
- Throws:
org.apache.axis2.AxisFault- the axis fault
-
get
public static HPCCWsResourcesClient get(Connection connection)
Gets the.- Parameters:
connection- the connection- Returns:
- the HPCC HPCCWsResources client
-
get
public static HPCCWsResourcesClient 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 HPCCWsResources client
-
get
public static HPCCWsResourcesClient 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 WSDFUXREF client
-
initWsResourcesClientStub
protected void initWsResourcesClientStub(Connection conn)
Initializes the service's underlying stub Should only be used by constructors.- Parameters:
conn- -- All connection settings included
-
serviceQuery
public org.hpccsystems.ws.client.wrappers.gen.wsresources.ServiceQueryResponseWrapper serviceQuery(org.hpccsystems.ws.client.wrappers.gen.wsresources.ServiceQueryRequestWrapper req) throws ExceptionSubmit service query request
-
-