public class BindingsInitializer extends Object
| Constructor and Description |
|---|
BindingsInitializer() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Map<String,?> getBindings()
public Context getCtx()
public void setCtx(Context ctx)
ctx - public void start()
throws NamingException
NamingExceptionsetBindings(Map),
#setCtx(InitialContext)public void stop()
throws NamingException
NamingExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.