|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.util.functions.FunctionFactory
The FunctionFactory instanciates Function objects. There are 6 static getFunctions
objects in this class, which correspond to 6 different kind of Function objects.
The function factory was more important in the 1.7 version of MMBase. Since MMBase 1.8 there are
FunctionProviders, so often, it is just as easy and straight forward to simply call the
getFunction method on the relevant FunctionProvider (like FunctionSet, Cloud,
Module, or Node) or to simply instantiate the Function object (e.g. BeanFunction)
| Constructor Summary | |
FunctionFactory()
|
|
| Method Summary | |
static Function |
getFunction(Class claz,
String functionName)
Gets a function object for a Bean |
static Function |
getFunction(Cloud cloud,
String setName,
String functionName)
Gets a function from a function set on a certain cloud |
static Function |
getFunction(Method method,
String functionName)
Gets a function object for a certain Method |
static Function |
getFunction(Module module,
String functionName)
Gets a function object for a Module |
static Function |
getFunction(NodeManager nodeManager,
String functionName)
Gets a function object for a NodeManager |
static Function |
getFunction(Node node,
String functionName)
Gets a function object for a Node. |
static Function |
getFunction(String setName,
String functionName)
Gets a function from a function set |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FunctionFactory()
| Method Detail |
public static Function getFunction(String setName,
String functionName)
public static Function getFunction(Cloud cloud,
String setName,
String functionName)
public static Function getFunction(Node node,
String functionName)
public static Function getFunction(NodeManager nodeManager,
String functionName)
public static Function getFunction(Module module,
String functionName)
public static Function getFunction(Method method,
String functionName)
public static Function getFunction(Class claz,
String functionName)
throws IllegalAccessException,
InstantiationException,
InvocationTargetException
IllegalAccessException
InstantiationException
InvocationTargetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||