com.atlassian.confluence.user.crowd.jira
Class JiraJdbcRemoteDirectoryInstanceLoader

java.lang.Object
  extended by com.atlassian.confluence.user.crowd.jira.JiraJdbcRemoteDirectoryInstanceLoader
All Implemented Interfaces:
com.atlassian.crowd.directory.loader.DirectoryInstanceLoader

public class JiraJdbcRemoteDirectoryInstanceLoader
extends Object
implements com.atlassian.crowd.directory.loader.DirectoryInstanceLoader

Loader for the JiraJdbcRemoteDirectory. The directory has only ever been tested behind the DbCachingRemoteDirectory, so you should not expose this loader directly to the crowd service: always load it behind the cache.


Constructor Summary
JiraJdbcRemoteDirectoryInstanceLoader()
           
 
Method Summary
 boolean canLoad(String className)
           
 com.atlassian.crowd.directory.RemoteDirectory getDirectory(com.atlassian.crowd.embedded.api.Directory directory)
           
 com.atlassian.crowd.directory.RemoteDirectory getRawDirectory(Long id, String implementationClassName, Map<String,String> attributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraJdbcRemoteDirectoryInstanceLoader

public JiraJdbcRemoteDirectoryInstanceLoader()
Method Detail

getDirectory

public com.atlassian.crowd.directory.RemoteDirectory getDirectory(com.atlassian.crowd.embedded.api.Directory directory)
                                                           throws com.atlassian.crowd.exception.DirectoryInstantiationException
Specified by:
getDirectory in interface com.atlassian.crowd.directory.loader.DirectoryInstanceLoader
Throws:
com.atlassian.crowd.exception.DirectoryInstantiationException

getRawDirectory

public com.atlassian.crowd.directory.RemoteDirectory getRawDirectory(Long id,
                                                                     String implementationClassName,
                                                                     Map<String,String> attributes)
                                                              throws com.atlassian.crowd.exception.DirectoryInstantiationException
Specified by:
getRawDirectory in interface com.atlassian.crowd.directory.loader.DirectoryInstanceLoader
Throws:
com.atlassian.crowd.exception.DirectoryInstantiationException

canLoad

public boolean canLoad(String className)
Specified by:
canLoad in interface com.atlassian.crowd.directory.loader.DirectoryInstanceLoader


Copyright © 2003–2015 Atlassian. All rights reserved.