Class JaxbBoundPdpExtension<T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractPdpExtension>

java.lang.Object
org.ow2.authzforce.core.pdp.api.JaxbBoundPdpExtension<T>
Type Parameters:
T - XML/JAXB type used as configuration class for the extension. There must be a one-to-one relationship between such types and the JAXB-bound extensions.
All Implemented Interfaces:
PdpExtension
Direct Known Subclasses:
CloseableNamedAttributeProvider.FactoryBuilder, CloseablePolicyProvider.Factory, DecisionCache.Factory

public abstract class JaxbBoundPdpExtension<T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractPdpExtension> extends Object implements PdpExtension
Marker Interface for PDP extensions bound to a specific XML/JAXB class (used for the configuration of the extension)
  • Constructor Details

    • JaxbBoundPdpExtension

      public JaxbBoundPdpExtension()
  • Method Details

    • getJaxbClass

      public abstract Class<T> getJaxbClass()
      Gets the XML/JAXB class used as configuration class for the extension. There must be a one-to-one relationship between such types and the JAXB-bound extensions.
      Returns:
      XML/JAXB class bound to this extension
    • getId

      public final String getId()
      Description copied from interface: PdpExtension
      Get globally unique ID (e.g. URI) of the extension
      Specified by:
      getId in interface PdpExtension
      Returns:
      extension ID