|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.common.registrar.plugin.mc.Ejb3McRegistrar
public class Ejb3McRegistrar
Ejb3McRegistrar Microcontainer-based Implementation of the Ejb3Registrar
Ejb3Registrar}| Constructor Summary | |
|---|---|
Ejb3McRegistrar(org.jboss.kernel.Kernel kernel)
|
|
| Method Summary | ||
|---|---|---|
void |
bind(java.lang.Object name,
java.lang.Object value)
Binds the specified value to the key of specified name, throwing a DuplicateBindException in the case the name is not unique |
|
org.jboss.kernel.Kernel |
getProvider()
Returns a provider implementation-specific class to break contract and invoke upon vendor-specific features. |
|
java.lang.Object |
invoke(java.lang.Object name,
java.lang.String methodName,
java.lang.Object[] arguments,
java.lang.String[] signature)
Invokes the specified method name on the object bound at the specified name, returning the result |
|
java.util.Map<java.lang.Object,java.lang.Object> |
list()
Lists out all installed (bound) objects in form key == name , value == object. |
|
java.lang.Object |
lookup(java.lang.Object name)
Obtains the value bound at the specified name, throwing NotBoundException if there is nothing bound at the key |
|
java.lang.Object |
lookup(java.lang.Object name,
boolean checkInstalled)
Obtains the value bound at the specified name, throwing NotBoundException if there is nothing bound at the key. |
|
|
lookup(java.lang.Object name,
java.lang.Class<T> type)
Obtains the value bound at the specified name, throwing NotBoundException if there is nothing bound at the key. |
|
void |
rebind(java.lang.Object name,
java.lang.Object value)
Binds the specified value to the key of specified name, optionally unbinding the current value if one exists |
|
void |
unbind(java.lang.Object name)
Unbinds the object at the specified name, throwing NotBoundException if no object exists at that name |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ejb3McRegistrar(org.jboss.kernel.Kernel kernel)
| Method Detail |
|---|
public java.util.Map<java.lang.Object,java.lang.Object> list()
list in interface Ejb3Registrar
public java.lang.Object lookup(java.lang.Object name)
throws NotBoundException
lookup in interface Ejb3Registrarname -
NotBoundException
public java.lang.Object lookup(java.lang.Object name,
boolean checkInstalled)
throws NotBoundException
name - checkInstalled -
NotBoundException
public <T> T lookup(java.lang.Object name,
java.lang.Class<T> type)
throws NotBoundException
lookup in interface Ejb3RegistrarT - name - type -
NotBoundException
public void bind(java.lang.Object name,
java.lang.Object value)
throws DuplicateBindException
bind in interface Ejb3Registrarname - value -
DuplicateBindException
public void rebind(java.lang.Object name,
java.lang.Object value)
rebind in interface Ejb3Registrarname - value -
public void unbind(java.lang.Object name)
throws NotBoundException
unbind in interface Ejb3Registrarname -
NotBoundExceptionpublic org.jboss.kernel.Kernel getProvider()
getProvider in interface Ejb3Registrar
public java.lang.Object invoke(java.lang.Object name,
java.lang.String methodName,
java.lang.Object[] arguments,
java.lang.String[] signature)
throws NotBoundException
invoke in interface Ejb3Registrarname - methodName - arguments - Arguments to pass to the methodsignature - String representation of fully-qualified class names of parameter types
NotBoundException - If no object is bound at the specified name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||