Package org.apache.uima.adapter.vinci
Class VinciBinaryAnalysisEngineServiceStub
java.lang.Object
org.apache.uima.adapter.vinci.VinciBinaryAnalysisEngineServiceStub
- All Implemented Interfaces:
AnalysisEngineServiceStub,ResourceServiceStub
public class VinciBinaryAnalysisEngineServiceStub
extends Object
implements AnalysisEngineServiceStub
-
Constructor Summary
ConstructorsConstructorDescriptionVinciBinaryAnalysisEngineServiceStub(String endpointURI, Integer timeout, AnalysisEngineServiceAdapter owner, Parameter[] parameters) VinciBinaryAnalysisEngineServiceStub(String endpointURI, AnalysisEngineServiceAdapter owner) -
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms service call to inform the AnalysisEngine that the processing of a batch has been completed.voidPerforms service call to inform the AnalysisEngine that the processing of a collection has been completed.Performs service call to retrieve resource meta data.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.static StringgetParameterValueFor(String aKey, Parameter[] parameters)
-
Constructor Details
-
VinciBinaryAnalysisEngineServiceStub
public VinciBinaryAnalysisEngineServiceStub(String endpointURI, AnalysisEngineServiceAdapter owner) throws ResourceInitializationException - Throws:
ResourceInitializationException
-
VinciBinaryAnalysisEngineServiceStub
public VinciBinaryAnalysisEngineServiceStub(String endpointURI, Integer timeout, AnalysisEngineServiceAdapter owner, Parameter[] parameters) throws ResourceInitializationException - Throws:
ResourceInitializationException
-
-
Method Details
-
getParameterValueFor
-
callGetMetaData
Description copied from interface:ResourceServiceStubPerforms service call to retrieve resource meta data.- Specified by:
callGetMetaDatain interfaceResourceServiceStub- Returns:
- metadata for the Resource
- Throws:
ResourceServiceException- passthru- See Also:
-
callProcess
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:
-
callBatchProcessComplete
Description 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- See Also:
-
callCollectionProcessComplete
Description 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- See Also:
-
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:
-