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, removeNamingListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addNamingListener, close, getBaseName, list, listBindings, lookup, lookup, removeNamingListener
public 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
WritableNamingStore
bind
in interface WritableNamingStore
name
- The entry nameobject
- The entry objectbindType
- The entry classNamingException
- If any problems occurpublic void bind(Name name, Object object) throws NamingException
WritableNamingStore
bind
in interface WritableNamingStore
name
- The entry nameobject
- The entry objectNamingException
- If any problems occurpublic void rebind(Name name, Object object) throws NamingException
WritableNamingStore
rebind
in interface WritableNamingStore
name
- The entry nameobject
- The entry objectNamingException
- If any problems occurpublic void rebind(Name name, Object object, Class<?> bindType) throws NamingException
WritableNamingStore
rebind
in interface WritableNamingStore
name
- The entry nameobject
- The entry objectbindType
- The entry classNamingException
- If any problems occurpublic void unbind(Name name) throws NamingException
WritableNamingStore
unbind
in interface WritableNamingStore
name
- The entry nameNamingException
- If any problems occurpublic Context createSubcontext(Name name) throws NamingException
WritableNamingStore
createSubcontext
in interface WritableNamingStore
name
- 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 © 2016 JBoss by Red Hat. All rights reserved.