Package org.apache.uima.adapter.soap
Class AxisResourceServiceStub
- java.lang.Object
-
- org.apache.uima.adapter.soap.AxisResourceServiceStub
-
- All Implemented Interfaces:
ResourceServiceStub
- Direct Known Subclasses:
AxisAnalysisEngineServiceStub
public abstract class AxisResourceServiceStub extends Object implements ResourceServiceStub
Proxy to aResourceService_impl
that uses Axis SOAP to communicate with the service.
-
-
Constructor Summary
Constructors Constructor Description AxisResourceServiceStub(String aEndpoint, Integer aTimeout)
Sets the endpoint of the service with which this proxy communicates.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceMetaData
callGetMetaData()
Performs service call to retrieve resource meta data.URL
getServiceEndpoint()
Gets the service endpoint URL.Integer
getTimeout()
Gets the timeout period.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.uima.resource.ResourceServiceStub
destroy
-
-
-
-
Constructor Detail
-
AxisResourceServiceStub
public AxisResourceServiceStub(String aEndpoint, Integer aTimeout) throws MalformedURLException
Sets the endpoint of the service with which this proxy communicates.- Parameters:
aEndpoint
- the service endpoint URIaTimeout
- timeout period in milliseconds, or null to use Axis's default value- Throws:
MalformedURLException
- ifaEndpoint
is not a valid URL
-
-
Method Detail
-
callGetMetaData
public ResourceMetaData callGetMetaData() throws ResourceServiceException
Description copied from interface:ResourceServiceStub
Performs service call to retrieve resource meta data.- Specified by:
callGetMetaData
in interfaceResourceServiceStub
- Returns:
- metadata for the Resource
- Throws:
ResourceServiceException
- passthru- See Also:
ResourceService_impl.getMetaData()
-
getServiceEndpoint
public URL getServiceEndpoint()
Gets the service endpoint URL.- Returns:
- the service endpoint URL
-
getTimeout
public Integer getTimeout()
Gets the timeout period.- Returns:
- the timeout period in milliseconds. Null indicates that Axis's default value will be used.
-
-