public class MemoryDirectoryFactory extends Object implements DirectoryFactory
Constructor and Description |
---|
MemoryDirectoryFactory() |
Modifier and Type | Method and Description |
---|---|
List<Directory> |
getDirectories() |
Directory |
getDirectory(String name)
Returns the directory with the given name.
|
String |
getName() |
void |
registerDirectory(MemoryDirectory directory) |
void |
shutdown() |
void |
unregisterDirectory(MemoryDirectory directory) |
public MemoryDirectoryFactory() throws DirectoryException
DirectoryException
public String getName()
getName
in interface DirectoryFactory
public void registerDirectory(MemoryDirectory directory)
public void unregisterDirectory(MemoryDirectory directory)
public Directory getDirectory(String name)
DirectoryFactory
getDirectory
in interface DirectoryFactory
name
- the name of the directorypublic void shutdown()
shutdown
in interface DirectoryFactory
public List<Directory> getDirectories()
getDirectories
in interface DirectoryFactory
Copyright © 2015 Nuxeo SA. All rights reserved.