Class CacheableDirectoryInstanceLoader
java.lang.Object
com.atlassian.crowd.directory.loader.CacheableDirectoryInstanceLoader
- All Implemented Interfaces:
DirectoryInstanceLoader
@Deprecated
public class CacheableDirectoryInstanceLoader
extends Object
implements DirectoryInstanceLoader
Deprecated.
Since v2.12 - directory instances no longer rely on instance-local state (when using the new v2.12 components)
and don't need to be cached.
Caches the underlying remote directory base by id.
Note, this caching refers to holding the RemoteDirectory instances in memory, not the
db caching which may occur in underlying implementations
- Since:
- v2.1
-
Constructor Summary
ConstructorsConstructorDescriptionCacheableDirectoryInstanceLoader(DelegatingDirectoryInstanceLoader delegate, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.cache.CacheFactory cacheFactory) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.getDirectory(Directory directory) Deprecated.Deprecated.voidhandleEvent(DirectoryDeletedEvent event) Deprecated.voidhandleEvent(DirectoryUpdatedEvent event) Deprecated.voidDeprecated.
-
Constructor Details
-
CacheableDirectoryInstanceLoader
public CacheableDirectoryInstanceLoader(DelegatingDirectoryInstanceLoader delegate, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.cache.CacheFactory cacheFactory) Deprecated.
-
-
Method Details
-
getDirectory
Deprecated.- Specified by:
getDirectoryin interfaceDirectoryInstanceLoader- Throws:
DirectoryInstantiationException
-
getRawDirectory
public RemoteDirectory getRawDirectory(Long id, String className, Map<String, String> attributes) throws DirectoryInstantiationExceptionDeprecated.- Specified by:
getRawDirectoryin interfaceDirectoryInstanceLoader- Throws:
DirectoryInstantiationException
-
canLoad
Deprecated.- Specified by:
canLoadin interfaceDirectoryInstanceLoader
-
handleEvent
Deprecated. -
handleEvent
Deprecated. -
handleEvent
Deprecated.
-