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
DirectoryFactory
getDirectory
in interface DirectoryFactory
name
- the name of the directoryDirectoryException
public String getName()
getName
in interface DirectoryFactory
public void shutdown() throws DirectoryException
shutdown
in interface DirectoryFactory
DirectoryException
public List<Directory> getDirectories() throws DirectoryException
getDirectories
in interface DirectoryFactory
DirectoryException
Copyright © 2015 Nuxeo SA. All rights reserved.