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, invalidateCache
public void setOptions(List<Option> options)
AbstractLocator
setOptions
in interface AbstractLocator
public <T> T get(String key)
ContextMapOp
get
in interface ContextMapOp
T
- object from the mapkey
- Keypublic <T> void set(String key, T obj)
ContextMapOp
set
in interface ContextMapOp
key
- Key for the mapobj
- Object to be placedpublic String getIdentifier()
ResourceFinderModule
getIdentifier
in class ResourceFinderModule
public boolean isChildSupported()
ResourceFinderModule
isChildSupported
in class ResourceFinderModule
public boolean isDescendantSupported()
ResourceFinderModule
isDescendantSupported
in class ResourceFinderModule
Copyright © 2023 JBoss by Red Hat. All rights reserved.