Package com.atlassian.crowd.directory
Class SpringLdapPooledContextSourceProvider
java.lang.Object
com.atlassian.crowd.directory.SpringLdapPooledContextSourceProvider
- All Implemented Interfaces:
SpringLdapPoolStatisticsProvider,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean
public class SpringLdapPooledContextSourceProvider
extends Object
implements org.springframework.beans.factory.DisposableBean, SpringLdapPoolStatisticsProvider, org.springframework.beans.factory.InitializingBean
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionSpringLdapPooledContextSourceProvider(LdapContextSourceFactory ldapContextSourceFactory, com.atlassian.event.api.EventPublisher eventPublisher, LdapDirectoryClearingClusterEventPublisher ldapDirectoryClearingClusterEventPublisher, LdapConnectionPropertiesDiffResultMapper diffResultMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()voidvoidvoidremoveContextSource(Long directoryId, SpringLdapPooledContextSourceProvider.LdapPoolDestroyedReason reason, boolean propagateClusterMessage)
-
Constructor Details
-
SpringLdapPooledContextSourceProvider
public SpringLdapPooledContextSourceProvider(LdapContextSourceFactory ldapContextSourceFactory, com.atlassian.event.api.EventPublisher eventPublisher, LdapDirectoryClearingClusterEventPublisher ldapDirectoryClearingClusterEventPublisher, LdapConnectionPropertiesDiffResultMapper diffResultMapper)
-
-
Method Details
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
getPoolStatistics
- Specified by:
getPoolStatisticsin interfaceSpringLdapPoolStatisticsProvider
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
onDirectoryDeleted
-
onDirectoryUpdated
-
removeContextSource
public void removeContextSource(Long directoryId, SpringLdapPooledContextSourceProvider.LdapPoolDestroyedReason reason, boolean propagateClusterMessage)
-