JBoss port of sunxacml 2.0.5-redhat-1

org.jboss.security.xacml.sunxacml.cond
Class BasicFunctionFactoryProxy

java.lang.Object
  extended by org.jboss.security.xacml.sunxacml.cond.BasicFunctionFactoryProxy
All Implemented Interfaces:
FunctionFactoryProxy

public class BasicFunctionFactoryProxy
extends Object
implements FunctionFactoryProxy

A simple utility class that manages triples of function factories.

Since:
1.2
Author:
Seth Proctor

Constructor Summary
BasicFunctionFactoryProxy(FunctionFactory targetFactory, FunctionFactory conditionFactory, FunctionFactory generalFactory)
          Creates a new proxy.
 
Method Summary
 FunctionFactory getConditionFactory()
          Returns the Condition version of an instance of the FunctionFactory for which this is a proxy.
 FunctionFactory getGeneralFactory()
          Returns the General version of an instance of the FunctionFactory for which this is a proxy.
 FunctionFactory getTargetFactory()
          Returns the Target version of an instance of the FunctionFactory for which this is a proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicFunctionFactoryProxy

public BasicFunctionFactoryProxy(FunctionFactory targetFactory,
                                 FunctionFactory conditionFactory,
                                 FunctionFactory generalFactory)
Creates a new proxy.

Parameters:
targetFactory - the target factory provided by this proxy
conditionFactory - the target condition provided by this proxy
generalFactory - the general factory provided by this proxy
Method Detail

getTargetFactory

public FunctionFactory getTargetFactory()
Description copied from interface: FunctionFactoryProxy
Returns the Target version of an instance of the FunctionFactory for which this is a proxy.

Specified by:
getTargetFactory in interface FunctionFactoryProxy
Returns:
a FunctionFactory instance

getConditionFactory

public FunctionFactory getConditionFactory()
Description copied from interface: FunctionFactoryProxy
Returns the Condition version of an instance of the FunctionFactory for which this is a proxy.

Specified by:
getConditionFactory in interface FunctionFactoryProxy
Returns:
a FunctionFactory instance

getGeneralFactory

public FunctionFactory getGeneralFactory()
Description copied from interface: FunctionFactoryProxy
Returns the General version of an instance of the FunctionFactory for which this is a proxy.

Specified by:
getGeneralFactory in interface FunctionFactoryProxy
Returns:
a FunctionFactory instance

JBoss port of sunxacml 2.0.5-redhat-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.