org.nuxeo.ecm.directory.memory
Class MemoryDirectoryFactory
java.lang.Object
org.nuxeo.ecm.directory.memory.MemoryDirectoryFactory
- All Implemented Interfaces:
- DirectoryFactory
public class MemoryDirectoryFactory
- extends java.lang.Object
- implements DirectoryFactory
- Author:
- Florent Guillaume
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryDirectoryFactory
public MemoryDirectoryFactory()
throws DirectoryException
- Throws:
DirectoryException
getName
public java.lang.String getName()
- Specified by:
getName
in interface DirectoryFactory
registerDirectory
public void registerDirectory(MemoryDirectory directory)
unregisterDirectory
public void unregisterDirectory(MemoryDirectory directory)
getDirectory
public Directory getDirectory(java.lang.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 java.util.List<Directory> getDirectories()
- Specified by:
getDirectories
in interface DirectoryFactory
- Returns:
- a list with all the directories managed by this factory
Copyright © 2010 Nuxeo SAS. All Rights Reserved.