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_impl
that 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 void
callBatchProcessComplete()
Performs service call to inform the AnalysisEngine that the processing of a batch has been completed.void
callCollectionProcessComplete()
Performs service call to inform the AnalysisEngine that the processing of a collection has been completed.void
callProcess(CAS aCAS)
Performs service call to process an entity.void
destroy()
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
- ifaEndpoint
is 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
- ifaEndpoint
is not a valid URL
-
-
Method Detail
-
callProcess
public void callProcess(CAS aCAS) throws ResourceServiceException
Description copied from interface:AnalysisEngineServiceStub
Performs service call to process an entity.- Specified by:
callProcess
in interfaceAnalysisEngineServiceStub
- Parameters:
aCAS
- the CAS to process- Throws:
ResourceServiceException
- tbd- See Also:
AnalysisEngineServiceStub.callProcess(CAS)
-
destroy
public void destroy()
Description copied from interface:ResourceServiceStub
Called when this stub is no longer needed, so any open connections can be closed.- Specified by:
destroy
in interfaceResourceServiceStub
- See Also:
ResourceServiceStub.destroy()
-
callBatchProcessComplete
public void callBatchProcessComplete() throws ResourceServiceException
Description copied from interface:AnalysisEngineServiceStub
Performs service call to inform the AnalysisEngine that the processing of a batch has been completed.- Specified by:
callBatchProcessComplete
in interfaceAnalysisEngineServiceStub
- Throws:
ResourceServiceException
- tbd
-
callCollectionProcessComplete
public void callCollectionProcessComplete() throws ResourceServiceException
Description copied from interface:AnalysisEngineServiceStub
Performs service call to inform the AnalysisEngine that the processing of a collection has been completed.- Specified by:
callCollectionProcessComplete
in interfaceAnalysisEngineServiceStub
- Throws:
ResourceServiceException
- tbd
-
-