SunTM's XACML Implementation for JavaTM

com.sun.xacml.cond
Class BasicFunctionFactoryProxy

java.lang.Object
  extended bycom.sun.xacml.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

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

Sun's XACML Implementation Version 1.2

Copyright 2003-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

Sun, Sun Microsystems, the Sun Logo, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.