aicas logo Jamaica 3.4 release 8

com.sun.jndi.ldap
Class LdapCtxFactory

java.lang.Object
  extended by com.sun.jndi.ldap.LdapCtxFactory
All Implemented Interfaces:
InitialContextFactory, ObjectFactory

public final class LdapCtxFactory
extends Object
implements ObjectFactory, InitialContextFactory


Field Summary
static String ADDRESS_TYPE
          The type of each address in an LDAP reference.
 
Constructor Summary
LdapCtxFactory()
           
 
Method Summary
static Attribute createTypeNameAttr(Class cl)
          Used by Obj and obj/RemoteToAttrs too so must be public
 Context getInitialContext(Hashtable<?,?> envprops)
           
static DirContext getLdapCtxInstance(Object urlInfo, Hashtable env)
           
 Object getObjectInstance(Object ref, Name name, Context nameCtx, Hashtable<?,?> env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.naming.spi.ObjectFactory
getObjectInstance
 
Methods inherited from interface javax.naming.spi.InitialContextFactory
getInitialContext
 

Field Detail

ADDRESS_TYPE

public static final String ADDRESS_TYPE
The type of each address in an LDAP reference.

See Also:
Constant Field Values
Constructor Detail

LdapCtxFactory

public LdapCtxFactory()
Method Detail

getObjectInstance

public Object getObjectInstance(Object ref,
                                Name name,
                                Context nameCtx,
                                Hashtable<?,?> env)
                         throws Exception
Throws:
Exception

getInitialContext

public Context getInitialContext(Hashtable<?,?> envprops)
                          throws NamingException
Throws:
NamingException

getLdapCtxInstance

public static DirContext getLdapCtxInstance(Object urlInfo,
                                            Hashtable env)
                                     throws NamingException
Throws:
NamingException

createTypeNameAttr

public static Attribute createTypeNameAttr(Class cl)
Used by Obj and obj/RemoteToAttrs too so must be public


aicas logo Jamaica 3.4 release 8

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