Package org.apache.uima.adapter.vinci
Class VinciAnalysisEngineServiceStub
java.lang.Object
org.apache.uima.adapter.vinci.VinciAnalysisEngineServiceStub
- All Implemented Interfaces:
org.apache.uima.analysis_engine.AnalysisEngineServiceStub,org.apache.uima.resource.ResourceServiceStub
public class VinciAnalysisEngineServiceStub
extends Object
implements org.apache.uima.analysis_engine.AnalysisEngineServiceStub
The Class VinciAnalysisEngineServiceStub.
-
Constructor Summary
ConstructorsConstructorDescriptionVinciAnalysisEngineServiceStub(String endpointURI, Integer timeout, org.apache.uima.resource.Resource owner, org.apache.uima.resource.Parameter[] parameters) Instantiates a new vinci analysis engine service stub.VinciAnalysisEngineServiceStub(String endpointURI, org.apache.uima.resource.Resource owner) Instantiates a new vinci analysis engine service stub. -
Method Summary
Modifier and TypeMethodDescriptionvoidCall batch process complete.voidCall collection process complete.org.apache.uima.resource.metadata.ResourceMetaDataCall get meta data.Call get supported X cas versions.booleanCall is read only.booleanCall is stateless.voidcallProcess(org.apache.uima.cas.CAS aCAS) Call process.voidcallProcessCas(org.apache.uima.cas.CAS aCAS) Call process cas.voiddestroy()Destroy.protected booleanGets whether socket keepAlive is enabled, by consulting the PerformanceTuningSettings.
-
Constructor Details
-
VinciAnalysisEngineServiceStub
public VinciAnalysisEngineServiceStub(String endpointURI, org.apache.uima.resource.Resource owner) throws org.apache.uima.resource.ResourceInitializationException Instantiates a new vinci analysis engine service stub.- Parameters:
endpointURI- the endpoint URIowner- the owner- Throws:
org.apache.uima.resource.ResourceInitializationException- the resource initialization exception
-
VinciAnalysisEngineServiceStub
public VinciAnalysisEngineServiceStub(String endpointURI, Integer timeout, org.apache.uima.resource.Resource owner, org.apache.uima.resource.Parameter[] parameters) throws org.apache.uima.resource.ResourceInitializationException Instantiates a new vinci analysis engine service stub.- Parameters:
endpointURI- the endpoint URItimeout- the timeoutowner- the ownerparameters- the parameters- Throws:
org.apache.uima.resource.ResourceInitializationException- the resource initialization exception
-
-
Method Details
-
callGetMetaData
public org.apache.uima.resource.metadata.ResourceMetaData callGetMetaData() throws org.apache.uima.resource.ResourceServiceExceptionCall get meta data.- Specified by:
callGetMetaDatain interfaceorg.apache.uima.resource.ResourceServiceStub- Returns:
- the resource meta data
- Throws:
org.apache.uima.resource.ResourceServiceException- the resource service exception- See Also:
-
ResourceServiceStub.callGetMetaData()
-
callProcess
public void callProcess(org.apache.uima.cas.CAS aCAS) throws org.apache.uima.resource.ResourceServiceException Call process.- Specified by:
callProcessin interfaceorg.apache.uima.analysis_engine.AnalysisEngineServiceStub- Parameters:
aCAS- the a CAS- Throws:
org.apache.uima.resource.ResourceServiceException- the resource service exception- See Also:
-
AnalysisEngineServiceStub.callProcess(CAS)
-
callProcessCas
public void callProcessCas(org.apache.uima.cas.CAS aCAS) throws org.apache.uima.resource.ResourceServiceException Call process cas.- Parameters:
aCAS- the a CAS- Throws:
org.apache.uima.resource.ResourceServiceException- the resource service exception- See Also:
-
CasObjectProcessor.processCas(CAS)
-
destroy
public void destroy()Destroy.- Specified by:
destroyin interfaceorg.apache.uima.resource.ResourceServiceStub- See Also:
-
ResourceServiceStub.destroy()
-
callBatchProcessComplete
public void callBatchProcessComplete() throws org.apache.uima.resource.ResourceServiceExceptionCall batch process complete.- Specified by:
callBatchProcessCompletein interfaceorg.apache.uima.analysis_engine.AnalysisEngineServiceStub- Throws:
org.apache.uima.resource.ResourceServiceException- the resource service exception- See Also:
-
CasProcessor.batchProcessComplete(org.apache.uima.util.ProcessTrace)
-
callCollectionProcessComplete
public void callCollectionProcessComplete() throws org.apache.uima.resource.ResourceServiceExceptionCall collection process complete.- Specified by:
callCollectionProcessCompletein interfaceorg.apache.uima.analysis_engine.AnalysisEngineServiceStub- Throws:
org.apache.uima.resource.ResourceServiceException- the resource service exception- See Also:
-
CasProcessor.collectionProcessComplete(org.apache.uima.util.ProcessTrace)
-
callIsReadOnly
public boolean callIsReadOnly() throws org.apache.uima.resource.ResourceServiceExceptionCall is read only.- Returns:
- true, if successful
- Throws:
org.apache.uima.resource.ResourceServiceException- the resource service exception- See Also:
-
CasProcessor.isReadOnly()
-
callIsStateless
public boolean callIsStateless() throws org.apache.uima.resource.ResourceServiceExceptionCall is stateless.- Returns:
- true, if successful
- Throws:
org.apache.uima.resource.ResourceServiceException- the resource service exception- See Also:
-
CasProcessor.isStateless()
-
callGetSupportedXCasVersions
public List<String> callGetSupportedXCasVersions() throws org.apache.uima.resource.ResourceServiceExceptionCall get supported X cas versions.- Returns:
- the list
- Throws:
org.apache.uima.resource.ResourceServiceException- the resource service exception
-
isSocketKeepAliveEnabled
protected boolean isSocketKeepAliveEnabled()Gets whether socket keepAlive is enabled, by consulting the PerformanceTuningSettings. (If no setting specified, defaults to true.)- Returns:
- if socketKeepAlive is enabled
-