org.springframework.ldap.core.support
Class DefaultDirObjectFactory
java.lang.Object
org.springframework.ldap.core.support.DefaultDirObjectFactory
- All Implemented Interfaces:
- DirObjectFactory, ObjectFactory
public class DefaultDirObjectFactory
- extends Object
- implements DirObjectFactory
Default implementation of the DirObjectFactory interface. Creates a
DirContextAdapter from the supplied arguments.
- Author:
- Mattias Hellborg Arthursson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JNDI_ENV_BASE_PATH_KEY
public static final String JNDI_ENV_BASE_PATH_KEY
- Deprecated. Use
BaseLdapNameAware and
BaseLdapPathBeanPostProcessor instead.- Key to use in the ContextSource implementation to store the value of the
base path suffix, if any, in the Ldap Environment.
- See Also:
- Constant Field Values
DefaultDirObjectFactory
public DefaultDirObjectFactory()
getObjectInstance
public final Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment,
Attributes attrs)
throws Exception
- Specified by:
getObjectInstance in interface DirObjectFactory
- Throws:
Exception
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
throws Exception
- Specified by:
getObjectInstance in interface ObjectFactory
- Throws:
Exception