public class

DefaultResponseControlFactory

extends ControlFactory
java.lang.Object
   ↳ javax.naming.ldap.ControlFactory
     ↳ com.sun.jndi.ldap.DefaultResponseControlFactory

Class Overview

This class represents a factory for creating LDAPv3 response controls. The following response controls are supported:

Summary

Public Constructors
DefaultResponseControlFactory()
Constructs a new instance of the response control factory.
Public Methods
Control getControlInstance(Control ctl)
Creates an instance of a response control class from a more generic control class (BasicControl).
[Expand]
Inherited Methods
From class javax.naming.ldap.ControlFactory
From class java.lang.Object

Public Constructors

public DefaultResponseControlFactory ()

Constructs a new instance of the response control factory.

Public Methods

public Control getControlInstance (Control ctl)

Creates an instance of a response control class from a more generic control class (BasicControl).

Parameters
ctl A non-null control.
Returns
  • The LDAP control created or null if it cannot be created. Null indicates that another factory should be attempted.
Throws
NamingException if this control factory encountered an error condition while attempting to create the LDAP control, and no other control factories are to be tried.