@Configuration public class DirectoryFrameworkConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_DN_CONF |
| Constructor and Description |
|---|
DirectoryFrameworkConfiguration(org.springframework.context.ApplicationContext context) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.ldap.core.LdapTemplate |
getLdapTemplate(org.springframework.ldap.transaction.compensating.manager.TransactionAwareContextSourceProxy contextSource)
Get LDAP template
|
org.springframework.ldap.transaction.compensating.manager.ContextSourceTransactionManager |
getTxManager() |
org.springframework.ldap.transaction.compensating.manager.ContextSourceTransactionManagerDelegate |
getTxManagerDelegate()
For composite TM
|
org.springframework.ldap.transaction.compensating.manager.TransactionAwareContextSourceProxy |
txProxy() |
public static final String BASE_DN_CONF
public DirectoryFrameworkConfiguration(org.springframework.context.ApplicationContext context)
@Bean(name="contextSourceTransactionAwareProxy") public org.springframework.ldap.transaction.compensating.manager.TransactionAwareContextSourceProxy txProxy()
@Bean(name="ldapTemplate") @Primary public org.springframework.ldap.core.LdapTemplate getLdapTemplate(org.springframework.ldap.transaction.compensating.manager.TransactionAwareContextSourceProxy contextSource)
contextSource - context sourceobjectDirectoryMapper - object directory mapper@Bean public org.springframework.ldap.transaction.compensating.manager.ContextSourceTransactionManager getTxManager()
@Bean(name="ldapTransactionManagerDelegate") public org.springframework.ldap.transaction.compensating.manager.ContextSourceTransactionManagerDelegate getTxManagerDelegate()
Copyright © 2022. All rights reserved.