@Deprecated public class CacheableDirectoryInstanceLoader extends Object implements DirectoryInstanceLoader
Note, this caching refers to holding the RemoteDirectory instances in memory, not the
db caching which may occur in underlying implementations
| Constructor and Description |
|---|
CacheableDirectoryInstanceLoader(DelegatingDirectoryInstanceLoader delegate,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.cache.CacheFactory cacheFactory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLoad(String className)
Deprecated.
|
RemoteDirectory |
getDirectory(Directory directory)
Deprecated.
|
RemoteDirectory |
getRawDirectory(Long id,
String className,
Map<String,String> attributes)
Deprecated.
|
void |
handleEvent(DirectoryDeletedEvent event)
Deprecated.
|
void |
handleEvent(DirectoryUpdatedEvent event)
Deprecated.
|
void |
handleEvent(XMLRestoreFinishedEvent event)
Deprecated.
|
public CacheableDirectoryInstanceLoader(DelegatingDirectoryInstanceLoader delegate, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.cache.CacheFactory cacheFactory)
public RemoteDirectory getDirectory(Directory directory) throws DirectoryInstantiationException
getDirectory in interface DirectoryInstanceLoaderDirectoryInstantiationExceptionpublic RemoteDirectory getRawDirectory(Long id, String className, Map<String,String> attributes) throws DirectoryInstantiationException
getRawDirectory in interface DirectoryInstanceLoaderDirectoryInstantiationExceptionpublic boolean canLoad(String className)
canLoad in interface DirectoryInstanceLoader@EventListener public void handleEvent(DirectoryUpdatedEvent event)
@EventListener public void handleEvent(DirectoryDeletedEvent event)
@EventListener public void handleEvent(XMLRestoreFinishedEvent event)
Copyright © 2023 Atlassian. All rights reserved.