Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Attributes | Private Attributes | Static Private Attributes

org::apache::uima::analysis_engine::service::impl::AnalysisEngineServiceAdapter Class Reference

Inheritance diagram for org::apache::uima::analysis_engine::service::impl::AnalysisEngineServiceAdapter:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::analysis_engine::service::impl::AnalysisEngineServiceAdapter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void batchProcessComplete () throws AnalysisEngineProcessException
void batchProcessComplete (ProcessTrace aTrace) throws ResourceProcessException, IOException
void collectionProcessComplete () throws AnalysisEngineProcessException
void collectionProcessComplete (ProcessTrace aTrace) throws ResourceProcessException, IOException
ResultSpecification createResultSpecification ()
ResultSpecification createResultSpecification (TypeSystem aTypeSystem)
void destroy ()
AnalysisEngineMetaData getAnalysisEngineMetaData ()
CasManager getCasManager ()
Object getConfigParameterValue (String aGroupName, String aParamName)
Object getConfigParameterValue (String aParamName)
synchronized String[] getFeatureNamesForType (String aTypeName)
Logger getLogger ()
Logger getLogger ()
AnalysisEngineManagement getManagementInterface ()
ResourceMetaData getMetaData ()
Properties getPerformanceTuningSettings ()
ProcessingResourceMetaData getProcessingResourceMetaData ()
ResourceManager getResourceManager ()
ResourceManager getResourceManager ()
UimaContext getUimaContext ()
UimaContextAdmin getUimaContextAdmin ()
boolean initialize (ResourceSpecifier aSpecifier, Map< String, Object > aAdditionalParams) throws ResourceInitializationException
boolean isReadOnly ()
boolean isReadOnly ()
boolean isStateless ()
synchronized CAS newCAS () throws ResourceInitializationException
JCas newJCas () throws ResourceInitializationException
void process (CAS aCAS, ResultSpecification aResultSpec, ProcessTrace aTrace) throws ResultNotSupportedException, AnalysisEngineProcessException
ProcessTrace process (CAS aCAS) throws AnalysisEngineProcessException
ProcessTrace process (JCas aJCas, ResultSpecification aResultSpec) throws ResultNotSupportedException, AnalysisEngineProcessException
void process (JCas aJCas, ResultSpecification aResultSpec, ProcessTrace aTrace) throws ResultNotSupportedException, AnalysisEngineProcessException
void process (org.apache.uima.analysis_engine.AnalysisProcessData aProcessData, ResultSpecification aResultSpec) throws ResultNotSupportedException, AnalysisEngineProcessException
void process (AnalysisProcessData aProcessData, ResultSpecification aResultSpec) throws ResultNotSupportedException, AnalysisEngineProcessException
ProcessTrace process (CAS aCAS, ResultSpecification aResultSpec) throws ResultNotSupportedException, AnalysisEngineProcessException
ProcessTrace process (JCas aJCas) throws AnalysisEngineProcessException
JCasIterator processAndOutputNewCASes (JCas aJCas) throws AnalysisEngineProcessException
CasIterator processAndOutputNewCASes (CAS aCAS) throws AnalysisEngineProcessException
void processCas (CAS[] aCASes) throws ResourceProcessException
void processCas (CAS aCAS) throws ResourceProcessException
void reconfigure () throws ResourceConfigurationException
void resetResultSpecificationToDefault ()
void setConfigParameterValue (String aGroupName, String aParamName, Object aValue)
void setConfigParameterValue (String aParamName, Object aValue)
void setLogger (Logger aLogger)
void setLogger (Logger aLogger)
void setResultSpecification (ResultSpecification aResultSpec)
void typeSystemInit (TypeSystem aTypeSystem) throws ResourceInitializationException

Static Public Attributes

static final String PARAM_AGGREGATE_SOFA_MAPPINGS = "AGGREGATE_SOFA_MAPPINGS"
static final String PARAM_CONFIG_PARAM_SETTINGS = "CONFIG_PARAM_SETTINGS"
static final String PARAM_CONFIG_PARAM_SETTINGS = "CONFIG_PARAM_SETTINGS"
static final String PARAM_MBEAN_NAME_PREFIX = "MBEAN_NAME_PREFIX"
static final String PARAM_MBEAN_SERVER = "MBEAN_SERVER"
static final String PARAM_NUM_SIMULTANEOUS_REQUESTS = "NUM_SIMULTANEOUS_REQUESTS"
static final String PARAM_PERFORMANCE_TUNING_SETTINGS = "PERFORMANCE_TUNING_SETTINGS"
static final String PARAM_RESOURCE_MANAGER = "RESOURCE_MANAGER"
static final String PARAM_RESOURCE_MANAGER = "RESOURCE_MANAGER"
static final String PARAM_TIMEOUT_PERIOD = "TIMEOUT_PERIOD"
static final String PARAM_UIMA_CONTEXT = "UIMA_CONTEXT"
static final String PARAM_VERIFICATION_MODE = "VERIFICATION_MODE"

Protected Member Functions

ProcessTrace buildProcessTraceFromMBeanStats ()
void buildProcessTraceFromMBeanStats (ProcessTrace trace)
void enterBatchProcessComplete ()
void enterCollectionProcessComplete ()
void enterProcess ()
void exitBatchProcessComplete ()
void exitCollectionProcessComplete ()
void exitProcess ()
void finalize () throws Throwable
ConfigurationParameterSettings getCurrentConfigParameterSettings ()
AnalysisEngineManagementImpl getMBean ()
String getMBeanNamePrefix ()
Object getMBeanServer ()
String getResourceName ()
AnalysisEngineServiceStub getStub ()
boolean isProcessTraceEnabled ()
void normalizeIsoLangCodes (ProcessingResourceMetaData md)
void setMetaData (ResourceMetaData aMetaData)
void setPerformanceTuningSettings (Properties aSettings)
void setStub (AnalysisEngineServiceStub aStub)

Static Protected Attributes

static final String LOG_RESOURCE_BUNDLE = "org.apache.uima.impl.log_messages"

Private Attributes

ResourceMetaData mCachedMetaData
AnalysisEngineServiceStub mStub
UimaTimer mTimer = UIMAFramework.newTimer()

Static Private Attributes

static final Class
< AnalysisEngineServiceAdapter
CLASS_NAME = AnalysisEngineServiceAdapter.class

Detailed Description

Base class for analysis engine service adapters. Implements the AnalysisEngine interface by communicating with an Analysis Engine service. This insulates the application from having to know whether it is calling a local AnalysisEngine or a remote service.

Subclasses must provide an implementation of the initialize(ResourceSpecifier,Map) method, which must create an AnalysisEngineStub object that can communicate with the remote service. The stub must be passed to the setStub(AnalysisEngineStub) method of this class.

Definition at line 55 of file AnalysisEngineServiceAdapter.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index