public class CombinedIndexResolver extends IndexResolver implements Validateable
IndexResolver,
ListIndexResolver,
ArrayIndexResolverEnhancedResolver.Hint| Modifier and Type | Field and Description |
|---|---|
static ConfigurationKey |
ENABLED_KEY
If set to
false the resolver is marked as invalid. |
configurationBUILTIN_RESOLVERS_DEFAULT_PRIORITY, BUILTIN_TEMPLATE_LOCATORS_DEFAULT_PRIORITY, EXTENSION_RESOLVERS_DEFAULT_PRIORITY| Constructor and Description |
|---|
CombinedIndexResolver() |
CombinedIndexResolver(int priority) |
| Modifier and Type | Method and Description |
|---|---|
Set<ConfigurationKey> |
getConfigurationKeys() |
void |
init(Configuration configuration)
Initialize the component.
|
boolean |
isValid() |
Object |
resolve(Object contextObject,
String name,
ResolutionContext context)
Resolve the value from specified context object and name.
|
getIndexValue, getIndexValue, isAnIndex, notAnIndexcreateHint, getPriority, toStringcheckNotInitialized, initpublic static final ConfigurationKey ENABLED_KEY
false the resolver is marked as invalid.public CombinedIndexResolver()
public CombinedIndexResolver(int priority)
priority - public Object resolve(Object contextObject, String name, ResolutionContext context)
Resolvernull in case of the resolver is not capable
of resolving it.
ResolutionContext allows to register a callback to release all
the relevant resources after the resolved value is used.public void init(Configuration configuration)
ConfigurationAwareConfigurationAware components e.g. (
LocaleSupport).
This method must not be called directly by the application.init in interface ConfigurationAwareinit in class AbstractConfigurationAwarepublic Set<ConfigurationKey> getConfigurationKeys()
getConfigurationKeys in interface ConfigurationAwaregetConfigurationKeys in class AbstractConfigurationAwarepublic boolean isValid()
isValid in interface ValidateableCopyright © 2015. All rights reserved.