|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.tests.common.helper.EJBHelper
public final class EJBHelper
This helper is used to do ejb operations.
Field Summary | |
---|---|
static java.lang.String |
ITF_LOCAL
Constant used to identify a local interface. |
static java.lang.String |
ITF_REMOTE
Constant used to identify a remote interface. |
Constructor Summary | |
---|---|
private |
EJBHelper()
Helper should have a private constructor. |
Method Summary | ||
---|---|---|
static
|
getBeanLocalInstance(java.lang.String beanClassName)
Gets a local instance of a bean. |
|
static
|
getBeanRemoteInstance(java.lang.String beanClassName)
Gets a remote instance of a bean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ITF_REMOTE
public static final java.lang.String ITF_LOCAL
Constructor Detail |
---|
private EJBHelper()
Method Detail |
---|
public static <E> E getBeanRemoteInstance(java.lang.String beanClassName) throws java.lang.Exception
E
- bean element typebeanClassName
- classname of the bean
java.lang.Exception
- if occurs a problem in the instance invokationpublic static <E> E getBeanLocalInstance(java.lang.String beanClassName) throws java.lang.Exception
E
- bean element typebeanClassName
- classname of the bean
java.lang.Exception
- if occurs a problem in the instance invokation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |