com.atlassian.crowd.model.directory
Class StaticDirectoryInstanceLoader

java.lang.Object
  extended by com.atlassian.crowd.model.directory.StaticDirectoryInstanceLoader

public class StaticDirectoryInstanceLoader
extends java.lang.Object

Loads an implementation of a RemoteDirectory for use at runtime by the Crowd security server.


Constructor Summary
StaticDirectoryInstanceLoader()
           
 
Method Summary
static RemoteDirectory getDirectory(Directory directory)
          Loads the implementation class for a specific Directory.
static RemoteDirectory getDirectory(java.lang.String clazzName, java.util.Map directoryAttributes, java.lang.Long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticDirectoryInstanceLoader

public StaticDirectoryInstanceLoader()
Method Detail

getDirectory

public static RemoteDirectory getDirectory(Directory directory)
                                    throws DirectoryInstantiationException
Loads the implementation class for a specific Directory.

Parameters:
directory - The directory to load the RemoteDirectory implementation.
Returns:
The loaded implementation.
Throws:
DirectoryInstantiationException - If the RemoteDirectory implementation could not be loaded.

getDirectory

public static RemoteDirectory getDirectory(java.lang.String clazzName,
                                           java.util.Map directoryAttributes,
                                           java.lang.Long id)
                                    throws DirectoryInstantiationException
Throws:
DirectoryInstantiationException


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.