public class ConfigurableDbCachingRemoteDirectoryInstanceLoader extends DbCachingRemoteDirectoryInstanceLoader
DbCachingRemoteDirectoryInstanceLoader which allows DB caching to be switched off based
on the DirectoryProperties.CACHE_ENABLED attribute. Since 3.2.0 the uncached directories returned by this
class will be extended with auditing capabilities.
Note, the caching in this class refers to the DB caching of directory data, not of in memory caches of the
RemoteDirectory instances themselves
auditLogGroupMapper, auditLogUserMapper, auditService| Constructor and Description |
|---|
ConfigurableDbCachingRemoteDirectoryInstanceLoader(DirectoryInstanceLoader remoteDirectoryInstanceLoader,
InternalDirectoryInstanceLoader internalDirectoryInstanceLoader,
DirectoryCacheFactory directoryCacheFactory,
CacheRefresherFactory cacheRefresherFactory,
AuditService auditService,
com.atlassian.crowd.manager.audit.mapper.AuditLogUserMapper auditLogUserMapper,
com.atlassian.crowd.manager.audit.mapper.AuditLogGroupMapper auditLogGroupMapper,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.crowd.embedded.spi.DirectoryDao directoryDao) |
| Modifier and Type | Method and Description |
|---|---|
RemoteDirectory |
getDirectory(Directory directory) |
canLoad, getRawDirectorypublic ConfigurableDbCachingRemoteDirectoryInstanceLoader(DirectoryInstanceLoader remoteDirectoryInstanceLoader, InternalDirectoryInstanceLoader internalDirectoryInstanceLoader, DirectoryCacheFactory directoryCacheFactory, CacheRefresherFactory cacheRefresherFactory, AuditService auditService, com.atlassian.crowd.manager.audit.mapper.AuditLogUserMapper auditLogUserMapper, com.atlassian.crowd.manager.audit.mapper.AuditLogGroupMapper auditLogGroupMapper, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.crowd.embedded.spi.DirectoryDao directoryDao)
public RemoteDirectory getDirectory(Directory directory) throws DirectoryInstantiationException
getDirectory in interface DirectoryInstanceLoadergetDirectory in class DbCachingRemoteDirectoryInstanceLoaderDirectoryInstantiationExceptionCopyright © 2023 Atlassian. All rights reserved.