public abstract class GemfireFunctionUtils extends Object
| Constructor and Description |
|---|
GemfireFunctionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getAnnotationParameterPosition(Method method,
Class<?> targetAnnotationType,
Class<?>[] requiredTypes)
Determine the order position of a an annotated method parameter
|
static void |
registerFunctionForPojoMethod(Object target,
Method method,
Map<String,Object> attributes,
boolean overwrite)
Wrap a target object and method in a GemFire Function and register the function to the
FunctionService |
public static void registerFunctionForPojoMethod(Object target, Method method, Map<String,Object> attributes, boolean overwrite)
FunctionServicetarget - the target objectmethod - the method bound to the functionattributes - function attributesoverwrite - if true, will replace the existing functionpublic static int getAnnotationParameterPosition(Method method, Class<?> targetAnnotationType, Class<?>[] requiredTypes)
method - the Method instancetargetAnnotationType - the annotationrequiredTypes - an array of valid parameter types for the annotation