public class DefaultDirObjectFactory extends Object implements DirObjectFactory
DirContextAdapter
from the supplied arguments.Modifier and Type | Field and Description |
---|---|
static String |
JNDI_ENV_BASE_PATH_KEY
Deprecated.
Use
BaseLdapNameAware and
BaseLdapPathBeanPostProcessor instead. |
Constructor and Description |
---|
DefaultDirObjectFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment) |
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment,
Attributes attrs) |
public static final String JNDI_ENV_BASE_PATH_KEY
BaseLdapNameAware
and
BaseLdapPathBeanPostProcessor
instead.public final Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs) throws Exception
getObjectInstance
in interface DirObjectFactory
Exception
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
getObjectInstance
in interface ObjectFactory
Exception