public abstract class AbstractDirectoryInstanceLoader extends Object implements DirectoryInstanceLoader
DirectoryInstanceLoader
which provides a default implementation
of getDirectory(Directory)
Constructor and Description |
---|
AbstractDirectoryInstanceLoader() |
Modifier and Type | Method and Description |
---|---|
RemoteDirectory |
getDirectory(Directory directory)
Loads the
RemoteDirectory implementation class for a specific (already saved)
Directory configuration. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canLoad, getRawDirectory
public RemoteDirectory getDirectory(Directory directory) throws DirectoryInstantiationException
DirectoryInstanceLoader
RemoteDirectory
implementation class for a specific (already saved)
Directory
configuration.
Implementations of this method may choose to cache the RemoteDirectory, so this must only be called for Directories that have been successfully saved.
getDirectory
in interface DirectoryInstanceLoader
directory
- The directory to load the RemoteDirectory
implementation from.RemoteDirectory
loaded implementation.DirectoryInstantiationException
- If the RemoteDirectory
implementation could not be loaded.Copyright © 2017 Atlassian. All rights reserved.