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_implthat 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 ResourceMetaDatacallGetMetaData()Performs service call to retrieve resource meta data.URLgetServiceEndpoint()Gets the service endpoint URL.IntegergetTimeout()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- ifaEndpointis not a valid URL
-
-
Method Detail
-
callGetMetaData
public ResourceMetaData callGetMetaData() throws ResourceServiceException
Description copied from interface:ResourceServiceStubPerforms service call to retrieve resource meta data.- Specified by:
callGetMetaDatain 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.
-
-