link start!
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package javax.naming.ldap;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public interface Control extends Serializable {
|
||||
public static final boolean CRITICAL = true;
|
||||
public static final boolean NONCRITICAL = false;
|
||||
|
||||
byte[] getEncodedValue();
|
||||
|
||||
String getID();
|
||||
|
||||
boolean isCritical();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package javax.naming.ldap;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.naming.NamingException;
|
||||
|
||||
public interface ExtendedRequest extends Serializable {
|
||||
ExtendedResponse createExtendedResponse(String str, byte[] bArr, int i, int i2) throws NamingException;
|
||||
|
||||
byte[] getEncodedValue();
|
||||
|
||||
String getID();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.naming.ldap;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public interface ExtendedResponse extends Serializable {
|
||||
byte[] getEncodedValue();
|
||||
|
||||
String getID();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.naming.ldap;
|
||||
|
||||
import javax.naming.NamingException;
|
||||
|
||||
public interface HasControls {
|
||||
Control[] getControls() throws NamingException;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package javax.naming.ldap;
|
||||
|
||||
import javax.naming.NamingException;
|
||||
import javax.naming.directory.DirContext;
|
||||
|
||||
public interface LdapContext extends DirContext {
|
||||
public static final String CONTROL_FACTORIES = "java.naming.factory.control";
|
||||
|
||||
ExtendedResponse extendedOperation(ExtendedRequest extendedRequest) throws NamingException;
|
||||
|
||||
Control[] getConnectControls() throws NamingException;
|
||||
|
||||
Control[] getRequestControls() throws NamingException;
|
||||
|
||||
Control[] getResponseControls() throws NamingException;
|
||||
|
||||
LdapContext newInstance(Control[] controlArr) throws NamingException;
|
||||
|
||||
void reconnect(Control[] controlArr) throws NamingException;
|
||||
|
||||
void setRequestControls(Control[] controlArr) throws NamingException;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.naming.ldap;
|
||||
|
||||
import javax.naming.NamingException;
|
||||
|
||||
public interface UnsolicitedNotification extends ExtendedResponse, HasControls {
|
||||
NamingException getException();
|
||||
|
||||
String[] getReferrals();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.naming.ldap;
|
||||
|
||||
import javax.naming.event.NamingListener;
|
||||
|
||||
public interface UnsolicitedNotificationListener extends NamingListener {
|
||||
void notificationReceived(UnsolicitedNotificationEvent unsolicitedNotificationEvent);
|
||||
}
|
||||
Reference in New Issue
Block a user