link start!
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package javax.naming.event;
|
||||
|
||||
import javax.naming.Name;
|
||||
import javax.naming.NamingException;
|
||||
import javax.naming.directory.DirContext;
|
||||
import javax.naming.directory.SearchControls;
|
||||
|
||||
public interface EventDirContext extends EventContext, DirContext {
|
||||
void addNamingListener(String str, String str2, SearchControls searchControls, NamingListener namingListener) throws NamingException;
|
||||
|
||||
void addNamingListener(String str, String str2, Object[] objArr, SearchControls searchControls, NamingListener namingListener) throws NamingException;
|
||||
|
||||
void addNamingListener(Name name, String str, SearchControls searchControls, NamingListener namingListener) throws NamingException;
|
||||
|
||||
void addNamingListener(Name name, String str, Object[] objArr, SearchControls searchControls, NamingListener namingListener) throws NamingException;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.naming.event;
|
||||
|
||||
public interface NamespaceChangeListener extends NamingListener {
|
||||
void objectAdded(NamingEvent namingEvent);
|
||||
|
||||
void objectRemoved(NamingEvent namingEvent);
|
||||
|
||||
void objectRenamed(NamingEvent namingEvent);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.naming.event;
|
||||
|
||||
import java.util.EventListener;
|
||||
|
||||
public interface NamingListener extends EventListener {
|
||||
void namingExceptionThrown(NamingExceptionEvent namingExceptionEvent);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.naming.event;
|
||||
|
||||
public interface ObjectChangeListener extends NamingListener {
|
||||
void objectChanged(NamingEvent namingEvent);
|
||||
}
|
||||
Reference in New Issue
Block a user