|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb3.common.registrar.spi.Ejb3RegistrarLocator
public class Ejb3RegistrarLocator
Ejb3RegistrarLocator Provides simple mechanism for locating and setting the Ejb3Registrar.
Method Summary | |
---|---|
static void |
bindRegistrar(Ejb3Registrar registrar)
Binds the specified Ejb3Registrar implementation as the registrar of record for the life of this process, immutable once set |
static boolean |
isRegistrarBound()
Returns whether or not the Ejb3Registrar has been bound to this Process |
static Ejb3Registrar |
locateRegistrar()
Obtains the Ejb3Registrar associated with this process; in the case one has not yet been bound, a RuntimeException will be thrown |
static void |
unbindRegistrar()
Unbinds the current Ejb3Registrar implementation as the registrar of record |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Ejb3Registrar locateRegistrar() throws NotBoundException
NotBoundException
public static void bindRegistrar(Ejb3Registrar registrar) throws DuplicateBindException
registrar
-
DuplicateBindException
public static void unbindRegistrar() throws NotBoundException
registrar
-
NotBoundException
public static boolean isRegistrarBound()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |