public class EjbSelect extends Object
| Constructor and Description |
|---|
EjbSelect() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
execute_boolean(Object obj,
String methodSignature,
Object... args) |
static byte |
execute_byte(Object obj,
String methodSignature,
Object... args) |
static char |
execute_char(Object obj,
String methodSignature,
Object... args) |
static double |
execute_double(Object obj,
String methodSignature,
Object... args) |
static float |
execute_float(Object obj,
String methodSignature,
Object... args) |
static int |
execute_int(Object obj,
String methodSignature,
Object... args) |
static long |
execute_long(Object obj,
String methodSignature,
Object... args) |
static Object |
execute_Object(Object obj,
String methodSignature,
String returnType,
Object... args)
The single execution stub for all non-primitive
select operations.
|
static short |
execute_short(Object obj,
String methodSignature,
Object... args) |
static void |
execute_void(Object obj,
String methodSignature,
Object... args)
Perform a select operation when the return value is
a void.
|
static Method |
getSelectMethod(Class<?> returnType)
Retrieve the execution stub for the specified
return type.
|
public static Method getSelectMethod(Class<?> returnType)
returnType - The class of the return type.public static void execute_void(Object obj, String methodSignature, Object... args) throws javax.ejb.FinderException
obj - The ejb object we're executing on behalf of.methodSignature - The signature of the selectxxxx method being invoked.args - The arguments to the select. These need to match
the method signature.javax.ejb.FinderExceptionpublic static Object execute_Object(Object obj, String methodSignature, String returnType, Object... args) throws javax.ejb.FinderException
obj - The EJB object we're operating against.methodSignature - The signature of the ejbSelectxxxx method.returnType - The return type signature of the method.args - The select arguments.javax.ejb.FinderExceptionpublic static char execute_char(Object obj, String methodSignature, Object... args) throws javax.ejb.FinderException
javax.ejb.FinderExceptionpublic static byte execute_byte(Object obj, String methodSignature, Object... args) throws javax.ejb.FinderException
javax.ejb.FinderExceptionpublic static boolean execute_boolean(Object obj, String methodSignature, Object... args) throws javax.ejb.FinderException
javax.ejb.FinderExceptionpublic static short execute_short(Object obj, String methodSignature, Object... args) throws javax.ejb.FinderException
javax.ejb.FinderExceptionpublic static int execute_int(Object obj, String methodSignature, Object... args) throws javax.ejb.FinderException
javax.ejb.FinderExceptionpublic static long execute_long(Object obj, String methodSignature, Object... args) throws javax.ejb.FinderException
javax.ejb.FinderExceptionpublic static float execute_float(Object obj, String methodSignature, Object... args) throws javax.ejb.FinderException
javax.ejb.FinderExceptionCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.