org.jboss.security.xacml.locators
Class AbstractJBossPolicyLocator
java.lang.Object
org.jboss.security.xacml.locators.AbstractJBossPolicyLocator
- All Implemented Interfaces:
- AbstractLocator, ContextMapOp, PolicyLocator
- Direct Known Subclasses:
- JBossPolicyLocator, JBossPolicySetLocator
public abstract class AbstractJBossPolicyLocator
- extends Object
- implements PolicyLocator
Base Class for Policy Locators
- Since:
- Jul 6, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
options
protected List<Option> options
map
protected Map<String,Object> map
policies
protected Set<XACMLPolicy> policies
AbstractJBossPolicyLocator
public AbstractJBossPolicyLocator()
setOptions
public void setOptions(List<Option> theoptions)
- Description copied from interface:
AbstractLocator
- Set a list of options on the locator
- Specified by:
setOptions
in interface AbstractLocator
- See Also:
AbstractLocator.setOptions(List)
get
public <T> T get(String key)
- Description copied from interface:
ContextMapOp
- Get an element from the map
- Specified by:
get
in interface ContextMapOp
- Type Parameters:
T
- object from the map- Parameters:
key
- Key
- Returns:
- object from the map
- See Also:
ContextMapOp.get(String)
set
public <T> void set(String key,
T obj)
- Description copied from interface:
ContextMapOp
- Set an object on the map
- Specified by:
set
in interface ContextMapOp
- Parameters:
key
- Key for the mapobj
- Object to be placed- See Also:
ContextMapOp.set(String, Object)
setPolicies
public abstract void setPolicies(Set<XACMLPolicy> policies)
- Description copied from interface:
PolicyLocator
- Set of policies that this locator is able to return
- Specified by:
setPolicies
in interface PolicyLocator
- See Also:
PolicyLocator.setPolicies(Set)
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.