com.sun.jndi.ldap
Class LdapCtxFactory
java.lang.Object
com.sun.jndi.ldap.LdapCtxFactory
- All Implemented Interfaces:
- InitialContextFactory, ObjectFactory
public final class LdapCtxFactory
- extends Object
- implements ObjectFactory, InitialContextFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADDRESS_TYPE
public static final String ADDRESS_TYPE
- The type of each address in an LDAP reference.
- See Also:
- Constant Field Values
LdapCtxFactory
public LdapCtxFactory()
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 GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.