|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.crowd.model.directory.DirectoryInstanceLoaderImpl
public class DirectoryInstanceLoaderImpl
Loads an implementation of a RemoteDirectory
for use at runtime
by the Crowd security server.
Constructor Summary | |
---|---|
DirectoryInstanceLoaderImpl(DirectoryCacheManager directoryCacheManager,
DirectoryMonitorManager directoryMonitorManager)
|
Method Summary | |
---|---|
RemoteDirectory |
getDirectory(Directory directory)
Loads the implementation class for a specific Directory . |
RemoteDirectory |
getDirectory(String clazzName,
Map<String,String> directoryAttributes,
Long id)
Loads the RemoteDirectory implementation class for a specific
OldDirectory configuration. |
RemoteDirectory |
getRawDirectory(Directory directory)
Gets a guaranteed UNCACHED directory implementation. |
RemoteDirectory |
getRawDirectory(String className,
Map directoryAttributes,
Long id)
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectoryInstanceLoaderImpl(DirectoryCacheManager directoryCacheManager, DirectoryMonitorManager directoryMonitorManager)
Method Detail |
---|
public RemoteDirectory getDirectory(Directory directory) throws DirectoryInstantiationException
Directory
.
getDirectory
in interface DirectoryInstanceLoader
directory
- The directory to load the RemoteDirectory
implementation.
DirectoryInstantiationException
- If the RemoteDirectory
implementation could not be loaded.public RemoteDirectory getDirectory(String clazzName, Map<String,String> directoryAttributes, Long id) throws DirectoryInstantiationException
DirectoryInstanceLoader
RemoteDirectory
implementation class for a specific
OldDirectory
configuration.
getDirectory
in interface DirectoryInstanceLoader
clazzName
- the name of the RemoteDirectory
class to loaddirectoryAttributes
- the configuration attributes to pass to the RemoteDirectoryid
- the id of the directory
RemoteDirectory
loaded implementation.
DirectoryInstantiationException
- If the RemoteDirectory
implementation could not be loaded.public RemoteDirectory getRawDirectory(Directory directory) throws DirectoryInstantiationException
DirectoryInstanceLoader
getRawDirectory
in interface DirectoryInstanceLoader
DirectoryInstantiationException
public RemoteDirectory getRawDirectory(String className, Map directoryAttributes, Long id) throws DirectoryInstantiationException
DirectoryInstantiationException
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |