public class WritableServiceBasedNamingStore extends ServiceBasedNamingStore implements WritableNamingStore
| Constructor and Description |
|---|
WritableServiceBasedNamingStore(org.jboss.msc.service.ServiceRegistry serviceRegistry,
org.jboss.msc.service.ServiceName serviceNameBase,
org.jboss.msc.service.ServiceTarget serviceTarget) |
| 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.ServiceName deploymentUnitServiceName) |
static void |
pushOwner(org.jboss.msc.service.ServiceTarget serviceTarget) |
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, getBaseName, getServiceNameBase, getServiceRegistry, list, listBindings, lookup, lookup, remove, removeNamingListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddNamingListener, close, getBaseName, list, listBindings, lookup, lookup, removeNamingListenerpublic WritableServiceBasedNamingStore(org.jboss.msc.service.ServiceRegistry serviceRegistry,
org.jboss.msc.service.ServiceName serviceNameBase,
org.jboss.msc.service.ServiceTarget serviceTarget)
public 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 bind(Name name, Object object) throws NamingException
WritableNamingStorebind in interface WritableNamingStorename - The entry nameobject - The entry objectNamingException - 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.ServiceName deploymentUnitServiceName)
public static void pushOwner(org.jboss.msc.service.ServiceTarget serviceTarget)
public static void popOwner()
Copyright © 2015 JBoss by Red Hat. All rights reserved.