com.sun.jndi.ldap
Class DefaultResponseControlFactory
java.lang.Object
javax.naming.ldap.ControlFactory
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultResponseControlFactory
public DefaultResponseControlFactory()
- Constructs a new instance of the response control factory.
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 GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.