- public class StandardCombiningAlgFactory
- extends BaseCombiningAlgFactory
This factory supports the standard set of algorithms specified in XACML
1.0 and 1.1. It is the default factory used by the system, and imposes
a singleton pattern insuring that there is only ever one instance of
Note that because this supports only the standard algorithms, this
factory does not allow the addition of any other algorithms. If you call
addAlgorithm on an instance of this class, an exception
will be thrown. If you need a standard factory that is modifiable, you
should create a new
BaseCombiningAlgFactory (or some other
CombiningAlgFactory) and configure it with the standard
getStandardAlgorithms (or, in the case of
BaseAttributeFactory, by providing the datatypes in the
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private static StandardCombiningAlgFactory factoryInstance
private static java.util.Set supportedAlgorithms
private static final java.util.logging.Logger logger
- Default constructor.
private static void initAlgorithms()
- Private initializer for the supported algorithms. This isn't called
until something needs these values, and is only called once.
public static StandardCombiningAlgFactory getFactory()
- Returns an instance of this factory. This method enforces a singleton
model, meaning that this always returns the same instance, creating
the factory if it hasn't been requested before. This is the default
model used by the
CombiningAlgFactory, ensuring quick
access to this factory.
public java.util.Set getStandardAlgorithms()
- Returns the set of algorithms that this standard factory supports.
public void addAlgorithm(CombiningAlgorithm alg)
- Throws an
UnsupportedOperationException since you are not
allowed to modify what a standard factory supports.
addAlgorithm in class