|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.naming.BindingsInitializer
public class BindingsInitializer
A bean that can be used to create JNDI bindings
Constructor Summary | |
---|---|
BindingsInitializer()
|
Method Summary | |
---|---|
Map<String,?> |
getBindings()
The key/value bindings to add to jndi |
Context |
getCtx()
Get the InitialContext into which the bindings will be made. |
void |
setBindings(Map<String,?> bindings)
|
void |
setCtx(Context ctx)
Set the InitialContext into which the bindings will be made. |
void |
start()
Add the bindings to the ctx. |
void |
stop()
Remove the bindings from the ctx. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BindingsInitializer()
Method Detail |
---|
public Map<String,?> getBindings()
public void setBindings(Map<String,?> bindings)
public Context getCtx()
public void setCtx(Context ctx)
ctx
- public void start() throws NamingException
NamingException
setBindings(Map)
,
#setCtx(InitialContext)
public void stop() throws NamingException
NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |