Package org.ow2.authzforce.core.pdp.api
Class BaseNamedAttributeProvider
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.api.BaseNamedAttributeProvider
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,AttributeProvider
,CloseableNamedAttributeProvider
,NamedAttributeProvider
public abstract class BaseNamedAttributeProvider extends Object implements CloseableNamedAttributeProvider
This is a convenience class to help implementCloseableNamedAttributeProvider
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ow2.authzforce.core.pdp.api.CloseableNamedAttributeProvider
CloseableNamedAttributeProvider.DependencyAwareFactory, CloseableNamedAttributeProvider.FactoryBuilder<CONF_T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractAttributeProvider>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseNamedAttributeProvider(String instanceID)
Instantiates the Attribute Provider
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getInstanceID()
Get user-defined ID for this instanceint
hashCode()
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ow2.authzforce.core.pdp.api.AttributeProvider
get
-
Methods inherited from interface org.ow2.authzforce.core.pdp.api.NamedAttributeProvider
getProvidedAttributes
-
-
-
-
Constructor Detail
-
BaseNamedAttributeProvider
protected BaseNamedAttributeProvider(String instanceID) throws IllegalArgumentException
Instantiates the Attribute Provider- Parameters:
instanceID
- instance ID (to be used as unique identifier for this instance in the logs for example);- Throws:
IllegalArgumentException
- if instanceId null
-
-
Method Detail
-
getInstanceID
public final String getInstanceID()
Get user-defined ID for this instance- Returns:
- instance ID
-
-