|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalDirectoryInstanceLoader
An extension of DirectoryInstanceLoader specialised for Internal Directories.
Note that the getDirectory(com.atlassian.crowd.embedded.api.Directory) and getRawDirectory(Long, String, java.util.Map)
methods have been specialised to return instances of InternalRemoteDirectory.
| Method Summary | |
|---|---|
InternalRemoteDirectory |
getDirectory(Directory directory)
Loads the RemoteDirectory implementation class for a specific (already saved)
Directory configuration. |
InternalRemoteDirectory |
getRawDirectory(java.lang.Long id,
java.lang.String className,
java.util.Map<java.lang.String,java.lang.String> attributes)
Loads a guaranteed un-cached directory implementation for a specific configuration. |
| Methods inherited from interface com.atlassian.crowd.directory.loader.DirectoryInstanceLoader |
|---|
canLoad |
| Method Detail |
|---|
InternalRemoteDirectory getDirectory(Directory directory)
throws DirectoryInstantiationException
DirectoryInstanceLoaderRemoteDirectory 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.
getDirectory in interface DirectoryInstanceLoaderdirectory - The directory to load the RemoteDirectory implementation from.
InternalRemoteDirectory.
DirectoryInstantiationException - If the RemoteDirectory implementation could not be loaded.DirectoryInstanceLoader
InternalRemoteDirectory getRawDirectory(java.lang.Long id,
java.lang.String className,
java.util.Map<java.lang.String,java.lang.String> attributes)
throws DirectoryInstantiationException
DirectoryInstanceLoader
getRawDirectory in interface DirectoryInstanceLoaderid - Directory IDclassName - class name of directory.attributes - the configuration attributes to pass to the RemoteDirectory
InternalRemoteDirectory.
DirectoryInstantiationException - if a RemoteDirectory implementation can not be loaded.DirectoryInstanceLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||