public class DirectoryFactoryProxy extends Object implements DirectoryFactory
| Constructor and Description |
|---|
DirectoryFactoryProxy(String componentName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentName()
Returns the name of the component that's going to be lookup up, as it's the one knowing about its own registered
directories.
|
List<Directory> |
getDirectories() |
Directory |
getDirectory(String name)
Returns the directory with the given name.
|
String |
getName() |
void |
shutdown() |
public DirectoryFactoryProxy(String componentName)
public String getComponentName()
public Directory getDirectory(String name) throws DirectoryException
DirectoryFactorygetDirectory in interface DirectoryFactoryname - the name of the directoryDirectoryExceptionpublic String getName()
getName in interface DirectoryFactorypublic void shutdown()
throws DirectoryException
shutdown in interface DirectoryFactoryDirectoryExceptionpublic List<Directory> getDirectories() throws DirectoryException
getDirectories in interface DirectoryFactoryDirectoryExceptionCopyright © 2015 Nuxeo SA. All rights reserved.