Package org.ow2.authzforce.core.pdp.api
Interface CloseableNamedAttributeProvider
-
- All Superinterfaces:
AttributeProvider
,AutoCloseable
,Closeable
,NamedAttributeProvider
- All Known Implementing Classes:
BaseNamedAttributeProvider
public interface CloseableNamedAttributeProvider extends NamedAttributeProvider, Closeable
NamedAttributeProvider
that extendsCloseable
because it may may use resources external to the JVM such as a cache, a disk, a connection to a remote server, etc. for retrieving the attribute values. Therefore, these resources must be released by callingCloseable.close()
when it is no longer needed.PDP extensions of this type (to support new ways of providing attributes) must implement the
CloseableNamedAttributeProvider.FactoryBuilder
class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CloseableNamedAttributeProvider.DependencyAwareFactory
Intermediate dependency-awareCloseableNamedAttributeProvider
factory that can create instances of Attribute Providers from a XML/JAXB configuration, and also provides the dependencies (required attributes) (based on this configuration), that any such instance (created by it) will need.static class
CloseableNamedAttributeProvider.FactoryBuilder<CONF_T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractAttributeProvider>
Builder that creates a dependency-aware AttributeProvider factory from parsing the attribute dependencies (attributes on which the Providers created by this factory will depend on to find their own supported attributes) declared in the XML configuration (possibly dynamic).
-
Method Summary
-
Methods inherited from interface org.ow2.authzforce.core.pdp.api.AttributeProvider
get
-
Methods inherited from interface org.ow2.authzforce.core.pdp.api.NamedAttributeProvider
getProvidedAttributes
-
-