public class ResourceLocator extends ResourceFinderModule implements AbstractLocator
ResourceFinderModule.findChildResources(org.jboss.security.xacml.sunxacml.attr.AttributeValue, org.jboss.security.xacml.sunxacml.EvaluationCtx),
ResourceFinderModule.findDescendantResources(org.jboss.security.xacml.sunxacml.attr.AttributeValue, org.jboss.security.xacml.sunxacml.EvaluationCtx)ATTRIBUTE_DESIGNATOR_INTEGER_TAG, ATTRIBUTE_DESIGNATOR_SUPPORT_TAG, ATTRIBUTE_SELECTOR_SUPPORT_TAG, ATTRIBUTE_SUPPORTED_ID_TAG, IDENTIFIER_TAG, RESOURCE_CHILD_SUPPORTED_TAG, RESOURCE_DESCENDANT_SUPPORTED_TAG| Constructor and Description |
|---|
ResourceLocator() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(String key)
Get an element from the map
|
String |
getIdentifier()
Returns this module's identifier.
|
boolean |
isChildSupported()
Returns true if this module supports finding resources with the
"Children" scope.
|
boolean |
isDescendantSupported()
Returns true if this module supports finding resources with the
"Descendants" scope.
|
<T> void |
set(String key,
T obj)
Set an object on the map
|
void |
setOptions(List<Option> options)
Set a list of options on the locator
|
findChildResources, findChildResources, findDescendantResources, findDescendantResources, invalidateCachepublic void setOptions(List<Option> options)
AbstractLocatorsetOptions in interface AbstractLocatorpublic <T> T get(String key)
ContextMapOpget in interface ContextMapOpT - object from the mapkey - Keypublic <T> void set(String key, T obj)
ContextMapOpset in interface ContextMapOpkey - Key for the mapobj - Object to be placedpublic String getIdentifier()
ResourceFinderModulegetIdentifier in class ResourceFinderModulepublic boolean isChildSupported()
ResourceFinderModuleisChildSupported in class ResourceFinderModulepublic boolean isDescendantSupported()
ResourceFinderModuleisDescendantSupported in class ResourceFinderModuleCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.