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 java.lang.Object implements org.springframework.beans.factory.FactoryBean
Deprecated.This functionality is automatically available in LdapTemplate as of version 2.0A Spring Factory bean which createsOdmManagerImpl
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>
-
-
Constructor Summary
Constructors Constructor Description OdmManagerImplFactoryBean()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
getObject()
Deprecated.java.lang.Class<?>
getObjectType()
Deprecated.boolean
isSingleton()
Deprecated.void
setContextSource(ContextSource contextSource)
Deprecated.Set the ContextSource to use to interact with the LDAP directory.void
setConverterManager(ConverterManager converterManager)
Deprecated.Set the ConverterManager to use to convert between LDAP and Java representations of attributes.void
setLdapOperations(LdapOperations ldapOperations)
Deprecated.Set the LdapOperations instance to use to interact with the LDAP directory.void
setManagedClasses(java.util.Set<java.lang.Class<?>> managedClasses)
Deprecated.Set the list oforg.springframework.ldap.odm.annotations
annotated classes the OdmManager will process.
-
-
-
Method Detail
-
setLdapOperations
public void setLdapOperations(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(ContextSource contextSource)
Deprecated.Set the ContextSource to use to interact with the LDAP directory.- Parameters:
contextSource
- The ContextSource to use.
-
setManagedClasses
public void setManagedClasses(java.util.Set<java.lang.Class<?>> managedClasses)
Deprecated.Set the list oforg.springframework.ldap.odm.annotations
annotated classes the OdmManager will process.- Parameters:
managedClasses
- The list of classes to manage.
-
setConverterManager
public void setConverterManager(ConverterManager converterManager)
Deprecated.Set the ConverterManager to use to convert between LDAP and Java representations of attributes.- Parameters:
converterManager
- The ConverterManager to use.
-
getObject
public java.lang.Object getObject() throws java.lang.Exception
Deprecated.- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean
- Throws:
java.lang.Exception
-
getObjectType
public java.lang.Class<?> getObjectType()
Deprecated.- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
Deprecated.- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean
-
-