com.atlassian.crowd.directory.loader
Class CustomDirectoryInstanceLoader

java.lang.Object
  extended by com.atlassian.crowd.directory.loader.AbstractDirectoryInstanceLoader
      extended by com.atlassian.crowd.directory.loader.CustomDirectoryInstanceLoader
All Implemented Interfaces:
DirectoryInstanceLoader

public class CustomDirectoryInstanceLoader
extends AbstractDirectoryInstanceLoader
implements DirectoryInstanceLoader

CustomDirectoryInstanceLoader loads a RemoteDirectory by using an InstanceFactory to create a RemoteDirectory.

Since:
v2.1

Constructor Summary
CustomDirectoryInstanceLoader(InstanceFactory instanceFactory)
           
 
Method Summary
 boolean canLoad(String className)
           
 RemoteDirectory getRawDirectory(Long id, String className, Map<String,String> attributes)
           
 
Methods inherited from class com.atlassian.crowd.directory.loader.AbstractDirectoryInstanceLoader
getDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.crowd.directory.loader.DirectoryInstanceLoader
getDirectory
 

Constructor Detail

CustomDirectoryInstanceLoader

public CustomDirectoryInstanceLoader(InstanceFactory instanceFactory)
Method Detail

getRawDirectory

public RemoteDirectory getRawDirectory(Long id,
                                       String className,
                                       Map<String,String> attributes)
                                throws DirectoryInstantiationException
Specified by:
getRawDirectory in interface DirectoryInstanceLoader
Throws:
DirectoryInstantiationException

canLoad

public boolean canLoad(String className)
Specified by:
canLoad in interface DirectoryInstanceLoader


Copyright © 2016 Atlassian. All Rights Reserved.