1 7 8 package javax.naming.event; 9 10 import javax.naming.Name ; 11 import javax.naming.Context ; 12 import javax.naming.NamingException ; 13 14 15 118 119 public interface EventContext extends Context { 120 126 public final static int OBJECT_SCOPE = 0; 127 128 135 public final static int ONELEVEL_SCOPE = 1; 136 137 144 public final static int SUBTREE_SCOPE = 2; 145 146 147 183 void addNamingListener(Name target, int scope, NamingListener l) 184 throws NamingException ; 185 186 201 void addNamingListener(String target, int scope, NamingListener l) 202 throws NamingException ; 203 204 221 void removeNamingListener(NamingListener l) throws NamingException ; 222 223 231 boolean targetMustExist() throws NamingException ; 232 } 233 | Popular Tags |