org.nuxeo.ecm.directory.memory
Class MemoryDirectoryFactory
java.lang.Object
org.nuxeo.ecm.directory.memory.MemoryDirectoryFactory
- All Implemented Interfaces:
- DirectoryFactory
public class MemoryDirectoryFactory
- extends Object
- implements DirectoryFactory
- Author:
- Florent Guillaume
MemoryDirectoryFactory
public MemoryDirectoryFactory()
throws DirectoryException
- Throws:
DirectoryException
getName
public String getName()
- Specified by:
getName
in interface DirectoryFactory
registerDirectory
public void registerDirectory(MemoryDirectory directory)
unregisterDirectory
public void unregisterDirectory(MemoryDirectory directory)
getDirectory
public Directory getDirectory(String name)
- Description copied from interface:
DirectoryFactory
- Returns the directory with the given name.
- Specified by:
getDirectory
in interface DirectoryFactory
- Parameters:
name
- the name of the directory
- Returns:
- the directory with the given name
shutdown
public void shutdown()
- Specified by:
shutdown
in interface DirectoryFactory
getDirectories
public List<Directory> getDirectories()
- Specified by:
getDirectories
in interface DirectoryFactory
- Returns:
- a list with all the directories managed by this factory
Copyright © 2011 Nuxeo SAS. All Rights Reserved.