public interface WritableNamingStore extends NamingStore
NamingStore
that allows entries to be written as well as retrieved.Modifier and Type | Method and Description |
---|---|
void |
bind(Name name,
Object object)
Bind and object into the naming store, creating parent contexts if needed.
|
void |
bind(Name name,
Object object,
Class<?> bindType)
Bind and object into the naming store, creating parent contexts if needed.
|
Context |
createSubcontext(Name name)
Create a sub-context for the provided name.
|
void |
rebind(Name name,
Object object)
Re-bind and object into the naming store.
|
void |
rebind(Name name,
Object object,
Class<?> bindType)
Re-bind and object into the naming store.
|
void |
unbind(Name name)
Unbind an object from the naming store.
|
addNamingListener, close, list, listBindings, lookup, removeNamingListener
void bind(Name name, Object object) throws NamingException
name
- The entry nameobject
- The entry objectNamingException
- If any problems occurvoid bind(Name name, Object object, Class<?> bindType) throws NamingException
name
- The entry nameobject
- The entry objectbindType
- The entry classNamingException
- If any problems occurvoid rebind(Name name, Object object) throws NamingException
name
- The entry nameobject
- The entry objectNamingException
- If any problems occurvoid rebind(Name name, Object object, Class<?> bindType) throws NamingException
name
- The entry nameobject
- The entry objectbindType
- The entry classNamingException
- If any problems occurvoid unbind(Name name) throws NamingException
name
- The entry nameNamingException
- If any problems occurContext createSubcontext(Name name) throws NamingException
name
- The entry nameNamingException
- If any errors occurCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.