public class ChildUimaContext_impl extends UimaContext_ImplBase implements UimaContextAdmin
AnnotatorContext.mCasPoolSize, mMBean, mOutstandingCASes, mQualifiedContextName, mSofaMappings| Constructor and Description |
|---|
ChildUimaContext_impl(UimaContextAdmin aParentContext,
String aContextName,
Map<String,String> aSofaMappings) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationManager |
getConfigurationManager()
Gets the ConfigurationManager instance used by this UimaContext to resolve configuration
parameter resource accesses.
|
InstrumentationFacility |
getInstrumentationFacility()
Gets the InstrumentationFacility to be used within this AnalysisEngine.
|
Logger |
getLogger()
Gets the
Logger to which log output will be sent. |
ResourceManager |
getResourceManager()
Gets the ResourceManager used by this UimaContext to locate and access external resources
|
UimaContextAdmin |
getRootContext()
Get the Root Context
|
Session |
getSession()
Returns the Session object, which can be used to store data that pertains to a particular
client session.
|
void |
initializeRoot(Logger aLogger,
ResourceManager aResourceManager,
ConfigurationManager aConfigurationManager)
Initializes a root UimaContext.
|
void |
setLogger(Logger aLogger)
Sets the Logger for this UimaContext.
|
void |
setPearResourceManager(ResourceManager resourceManager)
Set the Pear resource manager, to be used instead of any
containing Resource Manager.
|
void |
setProcessTrace(ProcessTrace aProcessTrace)
Sets the current ProcessTrace object, which will receive trace events generated by the
InstrumentationFacility.
|
void |
setSession(Session aSession)
Sets the current session object.
|
combineSofaMappings, createChild, defineCasPool, getComponentInfo, getConfigParameterNames, getConfigParameterNames, getConfigParameterValue, getConfigParameterValue, getConfigurationGroupNames, getDataPath, getEmptyCas, getExternalOverrides, getManagementInterface, getQualifiedContextName, getResourceAsStream, getResourceAsStream, getResourceFilePath, getResourceFilePath, getResourceObject, getResourceObject, getResourceURI, getResourceURI, getResourceURL, getResourceURL, getSharedSettingArray, getSharedSettingNames, getSharedSettingValue, getSofaMap, getSofaMappings, getUniqueName, makeQualifiedName, mapSofaIDToComponentSofaName, mapToSofaID, returnedCAS, setExternalOverridesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateChild, defineCasPool, getComponentInfo, getExternalOverrides, getManagementInterface, getQualifiedContextName, getSofaMap, getUniqueName, returnedCAS, setExternalOverridesgetConfigParameterNames, getConfigParameterNames, getConfigParameterValue, getConfigParameterValue, getConfigurationGroupNames, getDataPath, getEmptyCas, getResourceAsStream, getResourceAsStream, getResourceFilePath, getResourceFilePath, getResourceObject, getResourceObject, getResourceURI, getResourceURI, getResourceURL, getResourceURL, getSharedSettingArray, getSharedSettingNames, getSharedSettingValue, getSofaMappings, mapSofaIDToComponentSofaName, mapToSofaIDpublic ChildUimaContext_impl(UimaContextAdmin aParentContext, String aContextName, Map<String,String> aSofaMappings)
public void initializeRoot(Logger aLogger, ResourceManager aResourceManager, ConfigurationManager aConfigurationManager)
UimaContextAdmininitializeRoot in interface UimaContextAdminaLogger - the logger that will be returned by this UimaContext's UimaContext.getLogger() method.aResourceManager - the ResourceManager that will be used by this UimaContext to locate and access
external resource.aConfigurationManager - the ConfigurationManager that will be used by this UimaContext to access its
configuration parameter settings.public InstrumentationFacility getInstrumentationFacility()
getInstrumentationFacility in interface UimaContextpublic void setLogger(Logger aLogger)
UimaContextAdminUIMAFramework.getLogger())
will be used.setLogger in interface UimaContextAdminaLogger - the logger that will be returned by this UimaContext's UimaContext.getLogger() method.public ResourceManager getResourceManager()
getResourceManager in interface UimaContextAdminpublic void setPearResourceManager(ResourceManager resourceManager)
resourceManager - -public ConfigurationManager getConfigurationManager()
UimaContextAdmingetConfigurationManager in interface UimaContextAdminpublic void setProcessTrace(ProcessTrace aProcessTrace)
This method is to be called from the Analysis Engine, not the Annotator, so it is not part of the AnnotatorContext interface.
setProcessTrace in interface UimaContextAdminaProcessTrace - the ProcessTrace object to receive trace eventspublic UimaContextAdmin getRootContext()
getRootContext in interface UimaContextAdminpublic Logger getLogger()
UimaContextLogger to which log output will be sent. UIMA components should use
this facility rather than writing to their own log files (or to stdout).getLogger in interface UimaContextAnnotatorContext.getLogger()public Session getSession()
UimaContextNote that Session support is NOT implemented in any of the service wrappers (Vinci, SOAP) currently provided in the UIMA SDK.
getSession in interface UimaContextpublic void setSession(Session aSession)
UimaContextAdminsetSession in interface UimaContextAdminaSession - the session objectCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.