Class OdmManagerImplFactoryBean
java.lang.Object
org.springframework.ldap.odm.core.impl.OdmManagerImplFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean
public final class OdmManagerImplFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean
Deprecated.
This functionality is automatically available in LdapTemplate as of version 2.0
A Spring Factory bean which creates
OdmManagerImpl instances.
Typical configuration would appear as follows:
<bean id="odmManager" class="org.springframework.ldap.odm.core.impl.OdmManagerImplFactoryBean">
<property name="converterManager" ref="converterManager" />
<property name="contextSource" ref="contextSource" />
<property name="managedClasses">
<set>
<value>org.myorg.myldapentries.Person</value>
<value>org.myorg.myldapentries.OrganizationalUnit</value>
</set>
</property>
</bean>
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Class<?>Deprecated.booleanDeprecated.voidsetContextSource(org.springframework.ldap.core.ContextSource contextSource) Deprecated.Set the ContextSource to use to interact with the LDAP directory.voidsetConverterManager(org.springframework.ldap.odm.typeconversion.ConverterManager converterManager) Deprecated.Set the ConverterManager to use to convert between LDAP and Java representations of attributes.voidsetLdapOperations(org.springframework.ldap.core.LdapOperations ldapOperations) Deprecated.Set the LdapOperations instance to use to interact with the LDAP directory.voidsetManagedClasses(Set<Class<?>> managedClasses) Deprecated.Set the list oforg.springframework.ldap.odm.annotationsannotated classes the OdmManager will process.
-
Constructor Details
-
OdmManagerImplFactoryBean
public OdmManagerImplFactoryBean()Deprecated.
-
-
Method Details
-
setLdapOperations
public void setLdapOperations(org.springframework.ldap.core.LdapOperations ldapOperations) Deprecated.Set the LdapOperations instance to use to interact with the LDAP directory.- Parameters:
ldapOperations- the LdapOperations instance to use.
-
setContextSource
public void setContextSource(org.springframework.ldap.core.ContextSource contextSource) Deprecated.Set the ContextSource to use to interact with the LDAP directory.- Parameters:
contextSource- The ContextSource to use.
-
setManagedClasses
Deprecated.Set the list oforg.springframework.ldap.odm.annotationsannotated classes the OdmManager will process.- Parameters:
managedClasses- The list of classes to manage.
-
setConverterManager
public void setConverterManager(org.springframework.ldap.odm.typeconversion.ConverterManager converterManager) Deprecated.Set the ConverterManager to use to convert between LDAP and Java representations of attributes.- Parameters:
converterManager- The ConverterManager to use.
-
getObject
Deprecated.- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean- Throws:
Exception
-
getObjectType
Deprecated.- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()Deprecated.- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean
-