|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.imolinfo.jbi4ejb.runtime.ejbproxy.StatelessEJBProxy
public class StatelessEJBProxy
The Stateless EJBProxy.
| Constructor Summary | |
|---|---|
StatelessEJBProxy(java.lang.String remoteInterfaceClassName,
java.lang.Object remoteBean,
java.lang.ClassLoader ejbInvokeClassLoader,
org.omg.CORBA.ORB orb)
To avoid istantiation with no parameters. |
|
| Method Summary | |
|---|---|
java.lang.ClassLoader |
getEjbInvokeClassLoader()
Gets the ejb invoke class loader. |
org.omg.CORBA.ORB |
getOrb()
Gets the orb. |
java.lang.Class |
getRemoteInterfaceClass()
Gets the remote interface class. |
java.lang.String |
getRemoteInterfaceClassName()
Gets the remote interface class name. |
java.lang.Object |
invokeMethod(java.lang.reflect.Method method,
java.lang.Object[] params)
Invoke method on the EJB. |
java.lang.Object |
invokeMethod(java.lang.String methodName,
java.lang.Object[] params)
Invoke method on the EJB. |
void |
setRemoteInterfaceClass(java.lang.Class myRemoteInterFace)
Sets the remote interface class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatelessEJBProxy(java.lang.String remoteInterfaceClassName,
java.lang.Object remoteBean,
java.lang.ClassLoader ejbInvokeClassLoader,
org.omg.CORBA.ORB orb)
remoteInterfaceClassName - The remote interface class nameremoteBean - The remote bean objectejbInvokeClassLoader - The invocation class loaderorb - The CORBA ORB| Method Detail |
|---|
public java.lang.Object invokeMethod(java.lang.String methodName,
java.lang.Object[] params)
throws EJBInvokeException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
methodName - The method to invokeparams - The params for the method invocation
EJBInvokeException - If some problems occurs
EJBInvokeException - if some problem in the EJB invocation occurs
java.lang.reflect.InvocationTargetException - If an exception is thrown in the invokation
java.lang.IllegalAccessException - If there are access problems
public java.lang.Object invokeMethod(java.lang.reflect.Method method,
java.lang.Object[] params)
throws EJBInvokeException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
params - The params for the method invocationmethod - The method to invoke
EJBInvokeException - If some problems occurs in EJB invocation
EJBInvokeException - if some problem in the EJB invocation occurs
java.lang.reflect.InvocationTargetException - If an exception is thrown in the invokation
java.lang.IllegalAccessException - If there are access problemspublic org.omg.CORBA.ORB getOrb()
public void setRemoteInterfaceClass(java.lang.Class myRemoteInterFace)
myRemoteInterFace - The remote interface
java.lang.ClassNotFoundExceptionpublic java.lang.Class getRemoteInterfaceClass()
java.lang.ClassNotFoundExceptionpublic java.lang.String getRemoteInterfaceClassName()
public java.lang.ClassLoader getEjbInvokeClassLoader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||