org.rhq.enterprise.server.configuration
Class PropertyExpressionEvaluator
java.lang.Object
org.rhq.enterprise.server.configuration.PropertyExpressionEvaluator
public class PropertyExpressionEvaluator
- extends Object
Translates the configuration property value lookup key into a named query in the system.
- Author:
- Jason Dobies
- See Also:
DynamicConfigurationPropertyBean
|
Method Summary |
static String |
getQueryNameForKey(String key)
Returns the name of the query to use to retrieve the configuration values for properties
defined with the given key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_USERS
public static final String KEY_USERS
- See Also:
- Constant Field Values
KEY_ROLES
public static final String KEY_ROLES
- See Also:
- Constant Field Values
KEY_PACKAGE_TYPES
public static final String KEY_PACKAGE_TYPES
- See Also:
- Constant Field Values
KEY_RESOURCE_TYPE_PLUGIN
public static final String KEY_RESOURCE_TYPE_PLUGIN
- See Also:
- Constant Field Values
KEY_PACKAGE_ARCHITECTURES
public static final String KEY_PACKAGE_ARCHITECTURES
- See Also:
- Constant Field Values
PropertyExpressionEvaluator
public PropertyExpressionEvaluator()
getQueryNameForKey
public static String getQueryNameForKey(String key)
- Returns the name of the query to use to retrieve the configuration values for properties
defined with the given key. Each query referenced by the return result should only return
a list of
String objects, not any form of complex object (such as Resource
or Subject).
- Parameters:
key - plugin writer specified key to indicate what values to look up; this should be one
of the KEY_* values defined in this class.
- Returns:
- name of a named query, where the query is defined elsewhere;
null if the
key is not supported by the system
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.