20 lines
657 B
Java
20 lines
657 B
Java
package javax.naming.event;
|
|
|
|
import javax.naming.Context;
|
|
import javax.naming.Name;
|
|
import javax.naming.NamingException;
|
|
|
|
public interface EventContext extends Context {
|
|
public static final int OBJECT_SCOPE = 0;
|
|
public static final int ONELEVEL_SCOPE = 1;
|
|
public static final int SUBTREE_SCOPE = 2;
|
|
|
|
void addNamingListener(String str, int i, NamingListener namingListener) throws NamingException;
|
|
|
|
void addNamingListener(Name name, int i, NamingListener namingListener) throws NamingException;
|
|
|
|
void removeNamingListener(NamingListener namingListener) throws NamingException;
|
|
|
|
boolean targetMustExist() throws NamingException;
|
|
}
|