org.apache.uima.resource.impl
Class ConfigurationManager_impl

java.lang.Object
  extended by org.apache.uima.resource.impl.ConfigurationManagerImplBase
      extended by org.apache.uima.resource.impl.ConfigurationManager_impl
All Implemented Interfaces:
ConfigurationManager

public class ConfigurationManager_impl
extends ConfigurationManagerImplBase

Basic standalone Configuration Manager implmentation.


Field Summary
 
Fields inherited from class org.apache.uima.resource.impl.ConfigurationManagerImplBase
GROUP_SEPARATOR, SESSION_CONFIGURATION_KEY
 
Constructor Summary
ConfigurationManager_impl()
           
 
Method Summary
protected  void declareParameters(java.lang.String aGroupName, ConfigurationParameter[] aParams, ConfigurationParameterSettings aSettings, java.lang.String aContextName, java.lang.String aParentContextName)
          Called during creation of a new context.
protected  java.lang.Object lookupSharedParamNoLinks(java.lang.String aCompleteName)
          Looks up the value of a shared parameter, but does NOT follow links.
 
Methods inherited from class org.apache.uima.resource.impl.ConfigurationManagerImplBase
createContext, getConfigParameterDeclarations, getConfigParameterValue, getConfigParameterValue, getCurrentConfigParameterSettings, getLink, getParameterExpectedValueClass, lookup, makeQualifiedName, reconfigure, setConfigParameterValue, setConfigParameterValue, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationManager_impl

public ConfigurationManager_impl()
Method Detail

declareParameters

protected void declareParameters(java.lang.String aGroupName,
                                 ConfigurationParameter[] aParams,
                                 ConfigurationParameterSettings aSettings,
                                 java.lang.String aContextName,
                                 java.lang.String aParentContextName)
Description copied from class: ConfigurationManagerImplBase
Called during creation of a new context. Declares parameters, optionally in a group. Concrete subclasses will likely want to override this to set up any necessary data structures.

Overrides:
declareParameters in class ConfigurationManagerImplBase
Parameters:
aGroupName - name of parameter group, null if none
aParams - parameter declarations
aSettings - settings for parameters
aContextName - name of context containing this parameter
aParentContextName - name of parent context, null if none

lookupSharedParamNoLinks

protected java.lang.Object lookupSharedParamNoLinks(java.lang.String aCompleteName)
Description copied from class: ConfigurationManagerImplBase
Looks up the value of a shared parameter, but does NOT follow links. Concrete subclasses must implement this to do the actual retrieval of configuration parameter values.

Specified by:
lookupSharedParamNoLinks in class ConfigurationManagerImplBase
Parameters:
aCompleteName - complete name, of the form context/parameter$group
Returns:
value of parameter, or ParameterLink object, or null if no value assigned


Copyright © 2011. All Rights Reserved.