|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DistributedTreeManager
Manages distributed tree operations for HAJNDI.
Method Summary | |
---|---|
void |
bind(Name name,
Object obj,
String className)
Bind an object in the distribute tree |
Context |
createSubcontext(Name name)
Create a subcontext in the distributed tree |
org.jnp.interfaces.Naming |
getHAStub()
Get the Naming object relative to which context's are created |
void |
init()
Initializes the DistributedTreeManager |
Collection<NameClassPair> |
list(Name name)
List the binding in the distributed tree |
Collection<Binding> |
listBindings(Name name)
List the bindings in the distributed tree |
Object |
lookup(Name name)
Lookup an object in the distributed tree. |
void |
rebind(Name name,
Object obj,
String className)
Re-bind an object in the distribute tree |
void |
setHAStub(org.jnp.interfaces.Naming stub)
Set the Naming object relative to which context's are created |
void |
shutdown()
Shuts down the DistributedTreeManager |
void |
unbind(Name name)
Unbind an object from the distributed tree |
Method Detail |
---|
void init()
void shutdown()
void bind(Name name, Object obj, String className) throws NamingException
NamingException
void rebind(Name name, Object obj, String className) throws NamingException
NamingException
void unbind(Name name) throws NamingException
NamingException
Object lookup(Name name) throws NamingException
name
;
instead it returns null
.
name
- the name
null
NamingException
Collection<NameClassPair> list(Name name) throws NamingException
NamingException
Collection<Binding> listBindings(Name name) throws NamingException
NamingException
Context createSubcontext(Name name) throws NamingException
NamingException
org.jnp.interfaces.Naming getHAStub()
void setHAStub(org.jnp.interfaces.Naming stub)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |