|
spring-ldap-odm | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.ldap.odm.core.impl.OdmManagerImplFactoryBean
public final class OdmManagerImplFactoryBean
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>
| Constructor Summary | |
|---|---|
OdmManagerImplFactoryBean()
Deprecated. |
|
| Method Summary | |
|---|---|
Object |
getObject()
Deprecated. |
Class<?> |
getObjectType()
Deprecated. |
boolean |
isSingleton()
Deprecated. |
void |
setContextSource(org.springframework.ldap.core.ContextSource contextSource)
Deprecated. Set the ContextSource to use to interact with the LDAP directory. |
void |
setConverterManager(org.springframework.ldap.odm.typeconversion.ConverterManager converterManager)
Deprecated. Set the ConverterManager to use to convert between LDAP and Java representations of attributes. |
void |
setLdapOperations(org.springframework.ldap.core.LdapOperations ldapOperations)
Deprecated. Set the LdapOperations instance to use to interact with the LDAP directory. |
void |
setManagedClasses(Set<Class<?>> managedClasses)
Deprecated. Set the list of org.springframework.ldap.odm.annotations
annotated classes the OdmManager will process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OdmManagerImplFactoryBean()
| Method Detail |
|---|
public void setLdapOperations(org.springframework.ldap.core.LdapOperations ldapOperations)
ldapOperations - the LdapOperations instance to use.public void setContextSource(org.springframework.ldap.core.ContextSource contextSource)
contextSource - The ContextSource to use.public void setManagedClasses(Set<Class<?>> managedClasses)
org.springframework.ldap.odm.annotations
annotated classes the OdmManager will process.
managedClasses - The list of classes to manage.public void setConverterManager(org.springframework.ldap.odm.typeconversion.ConverterManager converterManager)
converterManager - The ConverterManager to use.
public Object getObject()
throws Exception
getObject in interface FactoryBeanExceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBeanpublic boolean isSingleton()
isSingleton in interface FactoryBean
|
spring-ldap-odm | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||