|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.util.EJBUtilitaire
public class EJBUtilitaire
This class provides different EJB services.
Method Summary | ||
---|---|---|
static
|
getEJBObjectRef(String name,
Class<T> classObj)
Return a remote object Using example : PublicationHome pubHome = (PublicationHome) EJBUtilitaire.getEJBObjectRef(JNDINames.PUBLICATION_EJBHOME, PublicationHome.class); |
|
protected static EJBUtilitaire |
getInstance()
|
|
|
getObjectReference(String name,
Class<T> classObj)
Return a remote object. |
|
static void |
mock(EJBUtilitaire mock)
|
|
static void |
unmock()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected static EJBUtilitaire getInstance()
public static void mock(EJBUtilitaire mock)
public static void unmock()
public <T> T getObjectReference(String name, Class<T> classObj) throws UtilException
name
- the JNDI name of the objectclassObj
- the class file name of the object
UtilException
public static <T> T getEJBObjectRef(String name, Class<T> classObj) throws UtilException
T
- name
- the JNDI name of the objectclassObj
- the class file name of the object
UtilException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |