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 java.lang.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(java.lang.String className)
           
 com.atlassian.crowd.directory.RemoteDirectory getDirectory(com.atlassian.crowd.embedded.api.Directory directory)
           
 com.atlassian.crowd.directory.RemoteDirectory getRawDirectory(java.lang.Long id, java.lang.String implementationClassName, java.util.Map<java.lang.String,java.lang.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(java.lang.Long id,
                                                                     java.lang.String implementationClassName,
                                                                     java.util.Map<java.lang.String,java.lang.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(java.lang.String className)
Specified by:
canLoad in interface com.atlassian.crowd.directory.loader.DirectoryInstanceLoader


Copyright © 2003-2014 Atlassian. All Rights Reserved.