org.codehaus.plexus.redback.common.ldap.connection
Class ConfigurableLdapConnectionFactory
java.lang.Object
org.codehaus.plexus.redback.common.ldap.connection.ConfigurableLdapConnectionFactory
- All Implemented Interfaces:
- org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, LdapConnectionFactory
@Service(value="ldapConnectionFactory#configurable")
public class ConfigurableLdapConnectionFactory
- extends java.lang.Object
- implements LdapConnectionFactory, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
- Version:
- $Id: ConfigurableLdapConnectionFactory.java 823 2009-03-26 17:20:36Z evenisse $
- Author:
- Trygve Laugstøl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConfigurableLdapConnectionFactory
public ConfigurableLdapConnectionFactory()
initialize
public void initialize()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
- Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
- Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
getConnection
public LdapConnection getConnection()
throws LdapException
- Specified by:
getConnection in interface LdapConnectionFactory
- Throws:
LdapException
getConnection
public LdapConnection getConnection(javax.naming.ldap.Rdn subRdn)
throws LdapException
- Specified by:
getConnection in interface LdapConnectionFactory
- Throws:
LdapException
getConnection
public LdapConnection getConnection(java.lang.String bindDn,
java.lang.String password)
throws LdapException
- Specified by:
getConnection in interface LdapConnectionFactory
- Throws:
LdapException
getBaseDnLdapName
public javax.naming.ldap.LdapName getBaseDnLdapName()
throws LdapException
- Specified by:
getBaseDnLdapName in interface LdapConnectionFactory
- Throws:
LdapException
addObjectFactory
public void addObjectFactory(java.lang.Class<? extends javax.naming.spi.ObjectFactory> objectFactoryClass)
- Specified by:
addObjectFactory in interface LdapConnectionFactory
addStateFactory
public void addStateFactory(java.lang.Class<? extends javax.naming.spi.StateFactory> stateFactoryClass)
- Specified by:
addStateFactory in interface LdapConnectionFactory
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getConfiguration
public LdapConnectionConfiguration getConfiguration()
Copyright © 2006-2011 Codehaus. All Rights Reserved.