link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
+14
View File
@@ -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);
}