|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DirectoryInstanceLoader
Loads an implementation of a RemoteDirectory
for use at runtime
by the Crowd security server.
Method Summary | |
---|---|
boolean |
canLoad(String className)
|
RemoteDirectory |
getDirectory(Directory directory)
Loads the RemoteDirectory implementation class for a specific (already saved)
Directory configuration. |
RemoteDirectory |
getRawDirectory(Long id,
String className,
Map<String,String> attributes)
Loads a guaranteed un-cached directory implementation for a specific configuration. |
Method Detail |
---|
RemoteDirectory getDirectory(Directory directory) throws DirectoryInstantiationException
RemoteDirectory
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.
directory
- The directory to load the RemoteDirectory
implementation from.
RemoteDirectory
loaded implementation.
DirectoryInstantiationException
- If the RemoteDirectory
implementation could not be loaded.RemoteDirectory getRawDirectory(Long id, String className, Map<String,String> attributes) throws DirectoryInstantiationException
id
- Directory IDclassName
- class name of directory.attributes
- the configuration attributes to pass to the RemoteDirectory
DirectoryInstantiationException
- if a RemoteDirectory implementation can not be loaded.boolean canLoad(String className)
className
- class name of directory.
true
iff the directory can load the directory of the specified class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |