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
NamingException
setBindings(Map)
,
#setCtx(InitialContext)
public void stop() throws NamingException
NamingException
Copyright © 2019 JBoss by Red Hat. All rights reserved.