public class WritableServiceBasedNamingStore extends ServiceBasedNamingStore implements WritableNamingStore
| Constructor and Description |
|---|
WritableServiceBasedNamingStore(org.jboss.msc.service.ServiceRegistry serviceRegistry,
org.jboss.msc.service.ServiceName serviceNameBase) |
| 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.
|
static void |
popOwner() |
static void |
pushOwner(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceName... dependencies) |
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.
|
add, addNamingListener, buildServiceName, close, getServiceNameBase, getServiceRegistry, list, listBindings, lookup, remove, removeNamingListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddNamingListener, close, list, listBindings, lookup, removeNamingListenerpublic WritableServiceBasedNamingStore(org.jboss.msc.service.ServiceRegistry serviceRegistry,
org.jboss.msc.service.ServiceName serviceNameBase)
public void bind(Name name, Object object) throws NamingException
WritableNamingStorebind in interface WritableNamingStorename - The entry nameobject - The entry objectNamingException - If any problems occurpublic void bind(Name name, Object object, Class<?> bindType) throws NamingException
WritableNamingStorebind in interface WritableNamingStorename - The entry nameobject - The entry objectbindType - The entry classNamingException - If any problems occurpublic void rebind(Name name, Object object) throws NamingException
WritableNamingStorerebind in interface WritableNamingStorename - The entry nameobject - The entry objectNamingException - If any problems occurpublic void rebind(Name name, Object object, Class<?> bindType) throws NamingException
WritableNamingStorerebind in interface WritableNamingStorename - The entry nameobject - The entry objectbindType - The entry classNamingException - If any problems occurpublic void unbind(Name name) throws NamingException
WritableNamingStoreunbind in interface WritableNamingStorename - The entry nameNamingException - If any problems occurpublic Context createSubcontext(Name name) throws NamingException
WritableNamingStorecreateSubcontext in interface WritableNamingStorename - The entry nameNamingException - If any errors occurpublic static void pushOwner(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceName... dependencies)
public static void popOwner()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.