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 StringWSRESOURCESURIConstantWSRESOURCESURI="/ws_codesign"-
Fields inherited from class org.hpccsystems.ws.client.BaseHPCCWsClient
DEAFULTECLWATCHPORT, DEFAULTECLWATCHTLSPORT, initErrMessage, stub, targetESPInterfaceVer, targetHPCCBuildVersion, targetsContainerizedHPCC, verbose, wsconn
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHPCCWsCodeSignClient(Connection baseConnection)Instantiates a new HPCC WSRESOURCES client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HPCCWsCodeSignClientget(String protocol, String targetHost, String targetPort, String user, String pass)Gets the.static HPCCWsCodeSignClientget(String protocol, String targetHost, String targetPort, String user, String pass, int timeout)Gets the.static HPCCWsCodeSignClientget(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.org.hpccsystems.ws.client.wrappers.gen.wscodesign.ListUserIDsResponseWrapperlistUserIDs(org.hpccsystems.ws.client.wrappers.gen.wscodesign.ListUserIDsRequestWrapper req)listUserIDs.booleanping()Ping.org.hpccsystems.ws.client.wrappers.gen.wscodesign.SignResponseWrappersign(org.hpccsystems.ws.client.wrappers.gen.wscodesign.SignRequestWrapper req)sign.org.hpccsystems.ws.client.wrappers.gen.wscodesign.VerifyResponseWrapperverify(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, 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="/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:
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 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 ExceptionlistUserIDs.
- Parameters:
req- aListUserIDsRequestWrapperobject.- Returns:
- a
ListUserIDsResponseWrapperobject. - 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 Exceptionsign.
- Parameters:
req- aSignRequestWrapperobject.- Returns:
- a
SignResponseWrapperobject. - 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 Exceptionverify.
- Parameters:
req- aVerifyRequestWrapperobject.- Returns:
- a
VerifyResponseWrapperobject. - Throws:
Exception- if any.
-
-