public class RemoteCrowdDirectoryInstanceLoaderImpl extends AbstractDirectoryInstanceLoader implements RemoteCrowdDirectoryInstanceLoader
RemoteDirectory for use at runtime
by the Crowd security server.
The AbstractDirectoryInstanceLoader.getDirectory(com.atlassian.crowd.embedded.api.Directory) method caches instances of RemoteDirectory as
allowed in the spec of the interface, but getRawDirectory(Long, String, java.util.Map) returns a new instance
every time as required.
| Constructor and Description |
|---|
RemoteCrowdDirectoryInstanceLoaderImpl(InstanceFactory instanceFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLoad(String className) |
RemoteCrowdDirectory |
getRawDirectory(Long id,
String className,
Map<String,String> directoryAttributes)
Loads a guaranteed un-cached directory implementation for a specific configuration.
|
getDirectoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDirectorypublic RemoteCrowdDirectoryInstanceLoaderImpl(InstanceFactory instanceFactory)
public RemoteCrowdDirectory getRawDirectory(Long id, String className, Map<String,String> directoryAttributes) throws DirectoryInstantiationException
DirectoryInstanceLoadergetRawDirectory in interface DirectoryInstanceLoaderid - Directory IDclassName - class name of directory.directoryAttributes - the configuration attributes to pass to the RemoteDirectoryDirectoryInstantiationException - if a RemoteDirectory implementation can not be loaded.public boolean canLoad(String className)
canLoad in interface DirectoryInstanceLoaderclassName - class name of directory.true iff the directory can load the directory of the specified class.Copyright © 2023 Atlassian. All rights reserved.