org.openmdx.resource.ldap.spi
Class ConnectionFactory

java.lang.Object
  extended by org.openmdx.resource.ldap.spi.ConnectionFactory
All Implemented Interfaces:
Serializable, Referenceable, ConnectionFactory

public class ConnectionFactory
extends Object
implements ConnectionFactory, Serializable, Referenceable

LDAP Connection Factory

See Also:
Serialized Form

Constructor Summary
ConnectionFactory(ManagedConnectionFactory managedConnectionFactory, ConnectionManager connectionManager)
          Constructor
 
Method Summary
 Connection getConnection()
           
 Reference getReference()
           
 void setReference(Reference reference)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionFactory

public ConnectionFactory(ManagedConnectionFactory managedConnectionFactory,
                         ConnectionManager connectionManager)
Constructor

Parameters:
managedConnectionFactory -
connectionManager -
Method Detail

getConnection

public Connection getConnection()
                         throws netscape.ldap.LDAPException
Specified by:
getConnection in interface ConnectionFactory
Throws:
netscape.ldap.LDAPException

setReference

public void setReference(Reference reference)

getReference

public Reference getReference()
                       throws NamingException
Specified by:
getReference in interface Referenceable
Throws:
NamingException


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.