public class SpringLdapPooledContextSourceProvider extends Object implements org.springframework.beans.factory.DisposableBean, SpringLdapPoolStatisticsProvider, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Class and Description |
|---|---|
static class |
SpringLdapPooledContextSourceProvider.LdapPoolDestroyedReason |
| Constructor and Description |
|---|
SpringLdapPooledContextSourceProvider(LdapContextSourceFactory ldapContextSourceFactory,
com.atlassian.event.api.EventPublisher eventPublisher,
LdapDirectoryClearingClusterEventPublisher ldapDirectoryClearingClusterEventPublisher,
LdapConnectionPropertiesDiffResultMapper diffResultMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
Map<Long,SpringLdapPoolStatistics> |
getPoolStatistics() |
void |
onDirectoryDeleted(DirectoryDeletedEvent e) |
void |
onDirectoryUpdated(DirectoryUpdatedEvent e) |
void |
removeContextSource(Long directoryId,
SpringLdapPooledContextSourceProvider.LdapPoolDestroyedReason reason,
boolean propagateClusterMessage) |
public SpringLdapPooledContextSourceProvider(LdapContextSourceFactory ldapContextSourceFactory, com.atlassian.event.api.EventPublisher eventPublisher, LdapDirectoryClearingClusterEventPublisher ldapDirectoryClearingClusterEventPublisher, LdapConnectionPropertiesDiffResultMapper diffResultMapper)
public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic Map<Long,SpringLdapPoolStatistics> getPoolStatistics()
getPoolStatistics in interface SpringLdapPoolStatisticsProviderpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException@EventListener public void onDirectoryDeleted(DirectoryDeletedEvent e)
@EventListener public void onDirectoryUpdated(DirectoryUpdatedEvent e)
public void removeContextSource(Long directoryId, SpringLdapPooledContextSourceProvider.LdapPoolDestroyedReason reason, boolean propagateClusterMessage)
Copyright © 2024 Atlassian. All rights reserved.