public class AxisAnalysisEngineServiceStub extends AxisResourceServiceStub implements AnalysisEngineServiceStub
AnalysisEngineService_impl
that makes use of Axis SOAP to communicate with the
service.Constructor and 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.
|
Modifier and Type | Method and 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.
|
callGetMetaData, getServiceEndpoint, getTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
callGetMetaData
public AxisAnalysisEngineServiceStub(String aEndpoint, Integer aTimeout) throws MalformedURLException
aEndpoint
- the service endpoint URIaTimeout
- the timeout period in millseconds, or null to use Axis's default valueMalformedURLException
- if aEndpoint
is not a valid URLpublic AxisAnalysisEngineServiceStub(String aEndpoint, Integer aTimeout, boolean aUseAttachments) throws 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 dataMalformedURLException
- if aEndpoint
is not a valid URLpublic void callProcess(CAS aCAS) throws ResourceServiceException
AnalysisEngineServiceStub
callProcess
in interface AnalysisEngineServiceStub
aCAS
- the CAS to processResourceServiceException
- tbdAnalysisEngineServiceStub.callProcess(CAS)
public void destroy()
ResourceServiceStub
destroy
in interface ResourceServiceStub
ResourceServiceStub.destroy()
public void callBatchProcessComplete() throws ResourceServiceException
AnalysisEngineServiceStub
callBatchProcessComplete
in interface AnalysisEngineServiceStub
ResourceServiceException
- tbdpublic void callCollectionProcessComplete() throws ResourceServiceException
AnalysisEngineServiceStub
callCollectionProcessComplete
in interface AnalysisEngineServiceStub
ResourceServiceException
- tbdCopyright © 2016. All rights reserved.