Package org.hpccsystems.ws.client
Class HPCCWsCodeSignClient
- java.lang.Object
-
- java.util.Observable
-
- org.hpccsystems.ws.client.utils.DataSingleton
-
- org.hpccsystems.ws.client.BaseHPCCWsClient
-
- org.hpccsystems.ws.client.HPCCWsCodeSignClient
-
public class HPCCWsCodeSignClient extends BaseHPCCWsClient
Facilitates ECL Code signing and verification related activities.
-
-
Field Summary
Fields Modifier and Type Field Description static String
WSRESOURCESURI
ConstantWSRESOURCESURI="/ws_codesign"
-
Fields inherited from class org.hpccsystems.ws.client.BaseHPCCWsClient
DEAFULTECLWATCHPORT, DEFAULTECLWATCHTLSPORT, initErrMessage, stub, targetESPInterfaceVer, targetHPCCBuildVersion, verbose, wsconn
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HPCCWsCodeSignClient(Connection baseConnection)
Instantiates a new HPCC WSRESOURCES client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HPCCWsCodeSignClient
get(String protocol, String targetHost, String targetPort, String user, String pass)
Gets the.static HPCCWsCodeSignClient
get(String protocol, String targetHost, String targetPort, String user, String pass, int timeout)
Gets the.static HPCCWsCodeSignClient
get(Connection connection)
Gets the.org.apache.axis2.client.Stub
getDefaultStub()
Gets the default stub.String
getServiceURI()
Gets the service URI.static int
getServiceWSDLPort()
Gets the service WSDL port.static String
getServiceWSDLURL()
Gets the service WSDLURL.protected void
initWsResourcesClientStub(Connection conn)
Initializes the service's underlying stub Should only be used by constructors.org.hpccsystems.ws.client.wrappers.gen.wscodesign.ListUserIDsResponseWrapper
listUserIDs(org.hpccsystems.ws.client.wrappers.gen.wscodesign.ListUserIDsRequestWrapper req)
listUserIDs.boolean
ping()
Ping.org.hpccsystems.ws.client.wrappers.gen.wscodesign.SignResponseWrapper
sign(org.hpccsystems.ws.client.wrappers.gen.wscodesign.SignRequestWrapper req)
sign.org.hpccsystems.ws.client.wrappers.gen.wscodesign.VerifyResponseWrapper
verify(org.hpccsystems.ws.client.wrappers.gen.wscodesign.VerifyRequestWrapper req)
verify.-
Methods inherited from class org.hpccsystems.ws.client.BaseHPCCWsClient
compatibilityCheck, compatibilityCheck, equals, fastRefresh, fullRefresh, getConnectionURL, getInitError, getServiceVersion, getServiceVersion, getServiceWSDLPort, getServiceWSDLURL, getStubConnectionTO, getTargetESPInterfaceVersion, getVerbose, handleECLExceptions, handleECLExceptions, handleEspExceptions, handleEspExceptions, handleEspSoapFaults, handleEspSoapFaults, hashCode, hasInitError, isComplete, loadESPRuntimeInterfaceVer, setActiveConnectionInfo, setClientAuth, setStubConnectionTO, setStubOptions, 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="/ws_codesign"
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HPCCWsCodeSignClient
protected HPCCWsCodeSignClient(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:
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
-
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
-
get
public static HPCCWsCodeSignClient get(Connection connection)
Gets the.- Parameters:
connection
- the connection- Returns:
- the HPCC HPCCWsResources client
-
get
public static HPCCWsCodeSignClient 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 HPCCWsCodeSignClient
-
get
public static HPCCWsCodeSignClient 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 HPCCWsCodeSignClient
-
initWsResourcesClientStub
protected void initWsResourcesClientStub(Connection conn)
Initializes the service's underlying stub Should only be used by constructors.- Parameters:
conn
- -- All connection settings included
-
listUserIDs
public org.hpccsystems.ws.client.wrappers.gen.wscodesign.ListUserIDsResponseWrapper listUserIDs(org.hpccsystems.ws.client.wrappers.gen.wscodesign.ListUserIDsRequestWrapper req) throws Exception
listUserIDs.
- Parameters:
req
- aListUserIDsRequestWrapper
object.- Returns:
- a
ListUserIDsResponseWrapper
object. - Throws:
Exception
- if any.
-
sign
public org.hpccsystems.ws.client.wrappers.gen.wscodesign.SignResponseWrapper sign(org.hpccsystems.ws.client.wrappers.gen.wscodesign.SignRequestWrapper req) throws Exception
sign.
- Parameters:
req
- aSignRequestWrapper
object.- Returns:
- a
SignResponseWrapper
object. - Throws:
Exception
- if any.
-
verify
public org.hpccsystems.ws.client.wrappers.gen.wscodesign.VerifyResponseWrapper verify(org.hpccsystems.ws.client.wrappers.gen.wscodesign.VerifyRequestWrapper req) throws Exception
verify.
- Parameters:
req
- aVerifyRequestWrapper
object.- Returns:
- a
VerifyResponseWrapper
object. - Throws:
Exception
- if any.
-
-