org.smallmind.cloud.namespace.java.backingStore.ldap
Class LdapContextCreator

java.lang.Object
  extended by org.smallmind.cloud.namespace.java.backingStore.ContextCreator
      extended by org.smallmind.cloud.namespace.java.backingStore.ldap.LdapContextCreator

public class LdapContextCreator
extends ContextCreator


Constructor Summary
LdapContextCreator(NamingConnectionDetails connectionDetails)
           
 
Method Summary
 DirContext getInitialContext()
           
 String getRoot()
           
static void insureContext(DirContext dirContext, String namingPath)
           
 
Methods inherited from class org.smallmind.cloud.namespace.java.backingStore.ContextCreator
getConnectionDetails
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapContextCreator

public LdapContextCreator(NamingConnectionDetails connectionDetails)
Method Detail

insureContext

public static void insureContext(DirContext dirContext,
                                 String namingPath)
                          throws NamingException
Throws:
NamingException

getRoot

public String getRoot()

getInitialContext

public DirContext getInitialContext()
                             throws NamingException
Specified by:
getInitialContext in class ContextCreator
Throws:
NamingException


Copyright © 2011. All Rights Reserved.