CONF_T
- type of configuration (XML-schema-derived)
This class follows the Step Factory Pattern to guide clients through the creation of the object in a particular sequence of method calls:
http://rdafbn.blogspot.fr/2012/07/step-builder-pattern_28.html
public abstract static class CloseableNamedAttributeProvider.FactoryBuilder<CONF_T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractAttributeProvider> extends JaxbBoundPdpExtension<CONF_T>
AUTHZFORCE_EXTENSION_PREFIX
Constructor and Description |
---|
FactoryBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract CloseableNamedAttributeProvider.DependencyAwareFactory |
getInstance(CONF_T configuration,
EnvironmentProperties environmentProperties)
Creates an attribute-dependency-aware AttributeProvider factory by inferring attribute dependencies (required attributes) from
conf . |
getId, getJaxbClass
public abstract CloseableNamedAttributeProvider.DependencyAwareFactory getInstance(CONF_T configuration, EnvironmentProperties environmentProperties) throws IllegalArgumentException
conf
.configuration
- configuration, that may define what attributes are required (dependency attributes)environmentProperties
- global PDP configuration environment propertiesconf
IllegalArgumentException
- invalid {code configuration}Copyright © 2012–2020. All rights reserved.