|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.core.cmp.cmp2.EjbSelect
public class EjbSelect
DO NOT REFACTOR THIS CLASS. This class is referenced directly by generated code. The execute_xxxx() methods below are used for executing the meat of the generated ejbSelectxxxx methods. Primitive types convert and return the return type directly and the generated method will give the correct return instruction. Reference types are resolved using the execute_Object() method, and the generated code is responsible for casting the return value to the proper return type.
Constructor Summary | |
---|---|
EjbSelect()
|
Method Summary | |
---|---|
static boolean |
execute_boolean(java.lang.Object di,
java.lang.String methodSignature,
java.lang.Object... args)
|
static byte |
execute_byte(java.lang.Object di,
java.lang.String methodSignature,
java.lang.Object... args)
|
static char |
execute_char(java.lang.Object di,
java.lang.String methodSignature,
java.lang.Object... args)
|
static double |
execute_double(java.lang.Object di,
java.lang.String methodSignature,
java.lang.Object... args)
|
static float |
execute_float(java.lang.Object di,
java.lang.String methodSignature,
java.lang.Object... args)
|
static int |
execute_int(java.lang.Object di,
java.lang.String methodSignature,
java.lang.Object... args)
|
static long |
execute_long(java.lang.Object di,
java.lang.String methodSignature,
java.lang.Object... args)
|
static java.lang.Object |
execute_Object(java.lang.Object di,
java.lang.String methodSignature,
java.lang.String returnType,
java.lang.Object... args)
The single execution stub for all non-primitive select operations. |
static short |
execute_short(java.lang.Object di,
java.lang.String methodSignature,
java.lang.Object... args)
|
static void |
execute_void(java.lang.Object di,
java.lang.String methodSignature,
java.lang.Object... args)
Perform a select operation when the return value is a void. |
static java.lang.reflect.Method |
getSelectMethod(java.lang.Class<?> returnType)
Retrieve the execution stub for the specified return type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EjbSelect()
Method Detail |
---|
public static java.lang.reflect.Method getSelectMethod(java.lang.Class<?> returnType)
returnType
- The class of the return type.
public static void execute_void(java.lang.Object di, java.lang.String methodSignature, java.lang.Object... args) throws javax.ejb.FinderException
di
- 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.FinderException
public static java.lang.Object execute_Object(java.lang.Object di, java.lang.String methodSignature, java.lang.String returnType, java.lang.Object... args) throws javax.ejb.FinderException
di
- 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.FinderException
public static char execute_char(java.lang.Object di, java.lang.String methodSignature, java.lang.Object... args) throws javax.ejb.FinderException
javax.ejb.FinderException
public static byte execute_byte(java.lang.Object di, java.lang.String methodSignature, java.lang.Object... args) throws javax.ejb.FinderException
javax.ejb.FinderException
public static boolean execute_boolean(java.lang.Object di, java.lang.String methodSignature, java.lang.Object... args) throws javax.ejb.FinderException
javax.ejb.FinderException
public static short execute_short(java.lang.Object di, java.lang.String methodSignature, java.lang.Object... args) throws javax.ejb.FinderException
javax.ejb.FinderException
public static int execute_int(java.lang.Object di, java.lang.String methodSignature, java.lang.Object... args) throws javax.ejb.FinderException
javax.ejb.FinderException
public static long execute_long(java.lang.Object di, java.lang.String methodSignature, java.lang.Object... args) throws javax.ejb.FinderException
javax.ejb.FinderException
public static float execute_float(java.lang.Object di, java.lang.String methodSignature, java.lang.Object... args) throws javax.ejb.FinderException
javax.ejb.FinderException
public static double execute_double(java.lang.Object di, java.lang.String methodSignature, java.lang.Object... args) throws javax.ejb.FinderException
javax.ejb.FinderException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |