Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ha » jndi » [javadoc | source]
org.jboss.ha.jndi
public class: HAJNDI [javadoc | source]
java.lang.Object
   org.jboss.ha.jndi.HAJNDI

All Implemented Interfaces:
    org.jnp.interfaces.Naming

This class utilizes JBossCache to provide a distributed JNDI implementation. Lookups will look for Names in HAJNDI then delegate to the local InitialContext.
Field Summary
static final  long serialVersionUID   
    since: 1.12.2.4 - , jboss-3.2.2
 
public static final  String ROOT     
public static final  Fqn ROOTFQN     
Constructor:
 public HAJNDI(HAPartition partition,
    Cache cache) 
Method from org.jboss.ha.jndi.HAJNDI Summary:
bind,   createSubcontext,   destroy,   getHAStub,   init,   list,   listBindings,   lookup,   rebind,   setHAStub,   stop,   unbind
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ha.jndi.HAJNDI Detail:
 public synchronized  void bind(Name name,
    Object obj,
    String className) throws NamingException 
 public Context createSubcontext(Name name) throws NamingException 
 public  void destroy() 
 public Naming getHAStub() 
 public  void init() 
 public Collection list(Name name) throws NamingException 
 public Collection listBindings(Name name) throws NamingException 
 public Object lookup(Name name) throws NamingException 
 public synchronized  void rebind(Name name,
    Object obj,
    String className) throws NamingException 
 public  void setHAStub(Naming stub) 
 public  void stop() 
 public synchronized  void unbind(Name name) throws NamingException