Package org.jboss.as.naming
Interface WritableNamingStore
- All Superinterfaces:
NamingStore
- All Known Implementing Classes:
InMemoryNamingStore,WritableServiceBasedNamingStore
A
NamingStore that allows entries to be written as well as retrieved.- Author:
- John Bailey
-
Method Summary
Modifier and TypeMethodDescriptionvoidBind and object into the naming store, creating parent contexts if needed.voidBind and object into the naming store, creating parent contexts if needed.createSubcontext(Name name) Create a sub-context for the provided name.voidRe-bind and object into the naming store.voidRe-bind and object into the naming store.voidUnbind an object from the naming store.Methods inherited from interface org.jboss.as.naming.NamingStore
addNamingListener, close, getBaseName, list, listBindings, lookup, lookup, removeNamingListener
-
Method Details
-
bind
Bind and object into the naming store, creating parent contexts if needed. All parent contexts must be created before this can be executed. The bind object type will be determined by the class of the object being passed in.- Parameters:
name- The entry nameobject- The entry object- Throws:
NamingException- If any problems occur
-
bind
Bind and object into the naming store, creating parent contexts if needed. All parent contexts must be created before this can be executed.- Parameters:
name- The entry nameobject- The entry objectbindType- The entry class- Throws:
NamingException- If any problems occur
-
rebind
Re-bind and object into the naming store. All parent contexts must be created before this can be executed. The bind object type will be determined by the class of the object being passed in.- Parameters:
name- The entry nameobject- The entry object- Throws:
NamingException- If any problems occur
-
rebind
Re-bind and object into the naming store. All parent contexts must be created before this can be executed.- Parameters:
name- The entry nameobject- The entry objectbindType- The entry class- Throws:
NamingException- If any problems occur
-
unbind
Unbind an object from the naming store. An entry for the name must exist.- Parameters:
name- The entry name- Throws:
NamingException- If any problems occur
-
createSubcontext
Create a sub-context for the provided name.- Parameters:
name- The entry name- Returns:
- The new sub-context
- Throws:
NamingException- If any errors occur
-