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, removeNamingListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addNamingListener, close, list, listBindings, lookup, removeNamingListener
public WritableServiceBasedNamingStore(org.jboss.msc.service.ServiceRegistry serviceRegistry, org.jboss.msc.service.ServiceName serviceNameBase)
public 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 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 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.ServiceTarget target, org.jboss.msc.service.ServiceName... dependencies)
public static void popOwner()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.