Class AbstractDirectoryInstanceLoader
java.lang.Object
com.atlassian.crowd.directory.loader.AbstractDirectoryInstanceLoader
- All Implemented Interfaces:
DirectoryInstanceLoader
- Direct Known Subclasses:
AzureAdDirectoryInstanceLoaderImpl
,CustomDirectoryInstanceLoader
,DbCachingRemoteDirectoryInstanceLoader
,DelegatedAuthenticationDirectoryInstanceLoaderImpl
,InternalDirectoryInstanceLoaderImpl
,LDAPDirectoryInstanceLoaderImpl
,RemoteCrowdDirectoryInstanceLoaderImpl
public abstract class AbstractDirectoryInstanceLoader
extends Object
implements DirectoryInstanceLoader
An abstract implementation of
DirectoryInstanceLoader
which provides a default implementation
of getDirectory(Directory)
- Since:
- v2.8
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDirectory
(Directory directory) Loads theRemoteDirectory
implementation class for a specific (already saved)Directory
configuration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.crowd.directory.loader.DirectoryInstanceLoader
canLoad, getRawDirectory
-
Constructor Details
-
AbstractDirectoryInstanceLoader
public AbstractDirectoryInstanceLoader()
-
-
Method Details
-
getDirectory
Description copied from interface:DirectoryInstanceLoader
Loads theRemoteDirectory
implementation class for a specific (already saved)Directory
configuration.Implementations of this method may choose to cache the RemoteDirectory, so this must only be called for Directories that have been successfully saved.
- Specified by:
getDirectory
in interfaceDirectoryInstanceLoader
- Parameters:
directory
- The directory to load theRemoteDirectory
implementation from.- Returns:
- The
RemoteDirectory
loaded implementation. - Throws:
DirectoryInstantiationException
- If theRemoteDirectory
implementation could not be loaded.
-