public class NetscapeControlFactory
extends javax.naming.ldap.ControlFactory
| Constructor and Description |
|---|
NetscapeControlFactory() |
| Modifier and Type | Method and Description |
|---|---|
javax.naming.ldap.Control |
getControlInstance(javax.naming.ldap.Control ctrl)
Creates a control using this control factory
|
static javax.naming.ldap.Control |
getControlInstance(netscape.ldap.LDAPControl rawCtrl)
Create a JNDI control from a raw ldapjdk control
|
public javax.naming.ldap.Control getControlInstance(javax.naming.ldap.Control ctrl)
throws javax.naming.NamingException
getControlInstance in class javax.naming.ldap.ControlFactoryctrl - A non-null control.javax.naming.NamingException - If ctrl contains invalid data that prevents it from
being used to create a control.public static javax.naming.ldap.Control getControlInstance(netscape.ldap.LDAPControl rawCtrl)
throws javax.naming.NamingException
rawCtrl - A non-null control.javax.naming.NamingException - If ctrl contains invalid data that prevents it from
being used to create a control.