Package org.apache.uima.adapter.soap
Class AxisAnalysisEngineServiceStub
- java.lang.Object
-
- org.apache.uima.adapter.soap.AxisResourceServiceStub
-
- org.apache.uima.adapter.soap.AxisAnalysisEngineServiceStub
-
- All Implemented Interfaces:
AnalysisEngineServiceStub,ResourceServiceStub
public class AxisAnalysisEngineServiceStub extends AxisResourceServiceStub implements AnalysisEngineServiceStub
Proxy to anAnalysisEngineService_implthat makes use of Axis SOAP to communicate with the service.
-
-
Constructor Summary
Constructors Constructor Description AxisAnalysisEngineServiceStub(String aEndpoint, Integer aTimeout)Sets the endpoint of the service with which this proxy communicates.AxisAnalysisEngineServiceStub(String aEndpoint, Integer aTimeout, boolean aUseAttachments)Sets the endpoint of the service with which this proxy communicates.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcallBatchProcessComplete()Performs service call to inform the AnalysisEngine that the processing of a batch has been completed.voidcallCollectionProcessComplete()Performs service call to inform the AnalysisEngine that the processing of a collection has been completed.voidcallProcess(CAS aCAS)Performs service call to process an entity.voiddestroy()Called when this stub is no longer needed, so any open connections can be closed.-
Methods inherited from class org.apache.uima.adapter.soap.AxisResourceServiceStub
callGetMetaData, getServiceEndpoint, getTimeout
-
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
callGetMetaData
-
-
-
-
Constructor Detail
-
AxisAnalysisEngineServiceStub
public AxisAnalysisEngineServiceStub(String aEndpoint, Integer aTimeout) throws MalformedURLException
Sets the endpoint of the service with which this proxy communicates.- Parameters:
aEndpoint- the service endpoint URIaTimeout- the timeout period in millseconds, or null to use Axis's default value- Throws:
MalformedURLException- ifaEndpointis not a valid URL
-
AxisAnalysisEngineServiceStub
public AxisAnalysisEngineServiceStub(String aEndpoint, Integer aTimeout, boolean aUseAttachments) throws MalformedURLException
Sets the endpoint of the service with which this proxy communicates.- Parameters:
aEndpoint- the service endpoint URIaTimeout- the timeout period in millseconds, or null to use Axis's default valueaUseAttachments- whether attachments should be used to send binary-serialized data- Throws:
MalformedURLException- ifaEndpointis not a valid URL
-
-
Method Detail
-
callProcess
public void callProcess(CAS aCAS) throws ResourceServiceException
Description copied from interface:AnalysisEngineServiceStubPerforms service call to process an entity.- Specified by:
callProcessin interfaceAnalysisEngineServiceStub- Parameters:
aCAS- the CAS to process- Throws:
ResourceServiceException- tbd- See Also:
AnalysisEngineServiceStub.callProcess(CAS)
-
destroy
public void destroy()
Description copied from interface:ResourceServiceStubCalled when this stub is no longer needed, so any open connections can be closed.- Specified by:
destroyin interfaceResourceServiceStub- See Also:
ResourceServiceStub.destroy()
-
callBatchProcessComplete
public void callBatchProcessComplete() throws ResourceServiceExceptionDescription copied from interface:AnalysisEngineServiceStubPerforms service call to inform the AnalysisEngine that the processing of a batch has been completed.- Specified by:
callBatchProcessCompletein interfaceAnalysisEngineServiceStub- Throws:
ResourceServiceException- tbd
-
callCollectionProcessComplete
public void callCollectionProcessComplete() throws ResourceServiceExceptionDescription copied from interface:AnalysisEngineServiceStubPerforms service call to inform the AnalysisEngine that the processing of a collection has been completed.- Specified by:
callCollectionProcessCompletein interfaceAnalysisEngineServiceStub- Throws:
ResourceServiceException- tbd
-
-