Package org.ow2.authzforce.core.pdp.api
Class DecisionCache.Factory<CONF_T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractDecisionCache>
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.api.JaxbBoundPdpExtension<CONF_T>
-
- org.ow2.authzforce.core.pdp.api.DecisionCache.Factory<CONF_T>
-
- Type Parameters:
CONF_T
- type of extension configuration (initialization parameters)
- All Implemented Interfaces:
PdpExtension
- Enclosing interface:
- DecisionCache
public abstract static class DecisionCache.Factory<CONF_T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractDecisionCache> extends JaxbBoundPdpExtension<CONF_T>
Factory for creating instance of DecisionCache extension
-
-
Field Summary
-
Fields inherited from interface org.ow2.authzforce.core.pdp.api.PdpExtension
AUTHZFORCE_EXTENSION_PREFIX
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract DecisionCache
getInstance(CONF_T conf, AttributeValueFactoryRegistry attributeValueFactories, EnvironmentProperties envProps)
Instantiates decision cache extension-
Methods inherited from class org.ow2.authzforce.core.pdp.api.JaxbBoundPdpExtension
getId, getJaxbClass
-
-
-
-
Method Detail
-
getInstance
public abstract DecisionCache getInstance(CONF_T conf, AttributeValueFactoryRegistry attributeValueFactories, EnvironmentProperties envProps)
Instantiates decision cache extension- Parameters:
conf
- extension parametersenvProps
- environment propertiesattributeValueFactories
- AttributeValue factories for the decision cache system to be able to create/restore AttributeValues from deserialized data stored or produced by external - possibly remote - systems (e.g. cache storage database). Remember that such attribute values can be present in decision results, typically in AttributeAssignments of Obligations/Advice.- Returns:
- instance of extension
-
-