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

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

org::apache::uima::resource::impl::ConfigurationManagerImplBase Class Reference

Inheritance diagram for org::apache::uima::resource::impl::ConfigurationManagerImplBase:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::resource::impl::ConfigurationManagerImplBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void createContext (String aContextName, ResourceMetaData aResourceMetaData) throws ResourceConfigurationException
ConfigurationParameterDeclarations getConfigParameterDeclarations (String aContextName)
Object getConfigParameterValue (String aQualifiedParameterName, String aGroupName)
Object getConfigParameterValue (String aQualifiedParameterName)
ConfigurationParameterSettings getCurrentConfigParameterSettings (String aContextName)
void reconfigure (String aContextName) throws ResourceConfigurationException
void setConfigParameterValue (String aQualifiedParamName, String aGroupName, Object aValue)
void setConfigParameterValue (String aQualifiedParamName, Object aValue)
void setSession (Session aSession)

Protected Member Functions

void declareParameters (String aGroupName, ConfigurationParameter[] aParams, ConfigurationParameterSettings aSettings, String aContextName, String aParentContextName)
String getLink (String aCompleteName)
Class<?> getParameterExpectedValueClass (ConfigurationParameter aParam)
Object lookup (String aCompleteName)
abstract Object lookupSharedParamNoLinks (String aCompleteName)
String makeQualifiedName (String aContextName, String aParamName, String aGroupName)

Static Protected Attributes

static final char GROUP_SEPARATOR = '$'
static final String SESSION_CONFIGURATION_KEY = "config"

Private Member Functions

String computeParentContextName (String aContextName)
Object getConfigParameterValue (String aQualifiedParameterName, String aGroupName, String aSearchStrategy, String aDefaultGroup)
NameValuePair[] getParamSettings (String aGroupName, ConfigurationParameter[] aParams, String aContextName)
Object getSessionParam (String aCompleteName)
void setSessionParam (String aCompleteName, Object aValue)
void validateConfigurationParameterDataTypeMatch (ConfigurationParameter aParam, Object aValue, String aContextName) throws ResourceConfigurationException
void validateConfigurationParameterSettings (String aContext) throws ResourceConfigurationException
void validateConfigurationParameterSettings (String aContext, ConfigurationParameter[] aParams, String aGroupName) throws ResourceConfigurationException

Private Attributes

Map< String,
ConfigurationParameterDeclarations
mContextNameToParamDeclsMap = new HashMap<String, ConfigurationParameterDeclarations>()
Set< String > mExplicitlyOverridingParameters = new HashSet<String>()
Map< String, String > mLinkMap = new HashMap<String, String>()
Session mSession = null

Detailed Description

Convenience base class for Configuration Manager implementations. Subclasses just need to implement the abstract methods declareParameters(String, ConfigurationParameter[], ConfigurationParameterSettings, String, String) and lookupSharedParamNoLinks(String).

Definition at line 51 of file ConfigurationManagerImplBase.java.


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

Generated by  Doxygen 1.6.0   Back to index