|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.adapter.soap.AxisResourceServiceStub
org.apache.uima.adapter.soap.AxisAnalysisEngineServiceStub
public class AxisAnalysisEngineServiceStub
Proxy to an AnalysisEngineService
that makes use of Axis SOAP to communicate with the
service.
Constructor Summary | |
---|---|
AxisAnalysisEngineServiceStub(java.lang.String aEndpoint,
java.lang.Integer aTimeout)
Sets the endpoint of the service with which this proxy communicates. |
|
AxisAnalysisEngineServiceStub(java.lang.String aEndpoint,
java.lang.Integer aTimeout,
boolean aUseAttachments)
Sets the endpoint of the service with which this proxy communicates. |
Method Summary | |
---|---|
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 |
---|
public AxisAnalysisEngineServiceStub(java.lang.String aEndpoint, java.lang.Integer aTimeout) throws java.net.MalformedURLException
aEndpoint
- the service endpoint URIaTimeout
- the timeout period in millseconds, or null to use Axis's default value
java.net.MalformedURLException
- if aEndpoint
is not a valid URLpublic AxisAnalysisEngineServiceStub(java.lang.String aEndpoint, java.lang.Integer aTimeout, boolean aUseAttachments) throws java.net.MalformedURLException
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
java.net.MalformedURLException
- if aEndpoint
is not a valid URLMethod Detail |
---|
public void callProcess(CAS aCAS) throws ResourceServiceException
AnalysisEngineServiceStub
callProcess
in interface AnalysisEngineServiceStub
aCAS
- the CAS to process
ResourceServiceException
org.apache.uima.reference_impl.analysis_engine.service.AnalysisEngineServiceStub#callProcess(CAS)
public void destroy()
ResourceServiceStub
destroy
in interface ResourceServiceStub
org.apache.uima.reference_impl.resource.service.ResourceServiceStub#destroy()
public void callBatchProcessComplete() throws ResourceServiceException
AnalysisEngineServiceStub
callBatchProcessComplete
in interface AnalysisEngineServiceStub
ResourceServiceException
public void callCollectionProcessComplete() throws ResourceServiceException
AnalysisEngineServiceStub
callCollectionProcessComplete
in interface AnalysisEngineServiceStub
ResourceServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |