1 6 7 package org.jfox.jndi; 8 9 import java.util.List ; 10 import javax.naming.Context ; 11 import javax.naming.Name ; 12 import javax.naming.NamingException ; 13 14 import org.jfox.ioc.connector.Container; 15 16 19 20 21 public interface JNDIContainer extends Container { 22 public void bind(Context ctx, Name name, Object obj, String className) throws NamingException ; 23 24 public void rebind(Context ctx, Name name, Object obj, String className) throws NamingException ; 25 26 public void unbind(Context ctx, Name name) throws NamingException ; 27 28 public Object lookup(Name name) throws NamingException ; 29 30 public Object lookupLink(Name name) throws NamingException ; 31 32 public List list(Context ctx, Name name) throws NamingException ; 33 34 public List listBindings(Context ctx, Name name) throws NamingException ; 35 36 public Context createSubcontext(Context ctx, Name name) throws NamingException ; 37 38 public void destroySubcontext(Context ctx, Name name) throws NamingException ; 40 41 public void closeSubcontext(Context ctx, Name name) throws NamingException ; 43 44 public boolean isBound(Name name); 45 } 46 | Popular Tags |