aicas logo Jamaica 3.4 release 8

com.sun.jndi.ldap
Class DefaultResponseControlFactory

java.lang.Object
  extended by javax.naming.ldap.ControlFactory
      extended by com.sun.jndi.ldap.DefaultResponseControlFactory

public class DefaultResponseControlFactory
extends ControlFactory

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

See Also:
SortResponseControl, PagedResultsResponseControl, PersistentSearchControl, EntryChangeResponseControl

Constructor Summary
DefaultResponseControlFactory()
          Constructs a new instance of the response control factory.
 
Method Summary
 Control getControlInstance(Control ctl)
          Creates an instance of a response control class from a more generic control class (BasicControl).
 
Methods inherited from class javax.naming.ldap.ControlFactory
getControlInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultResponseControlFactory

public DefaultResponseControlFactory()
Constructs a new instance of the response control factory.

Method Detail

getControlInstance

public Control getControlInstance(Control ctl)
                           throws NamingException
Creates an instance of a response control class from a more generic control class (BasicControl).

Specified by:
getControlInstance in class ControlFactory
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.

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.