|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.sape.carbon.core.config.node.file.FileLinkNodeFactory
Factory used to create links to nodes on a file system Copyright 2002 Sapient
| Field Summary | |
private static NodeFactory |
configurationDocumentFactory
Holds a reference to the configurationNodeFactory used. |
private static NodeFactory |
linkNodeFactory
Holds a reference to the linkNodeFactory used. |
private org.apache.commons.logging.Log |
log
The handle to Apache-commons logger |
private static NodeFactory |
subFolderFactory
Holds a reference to the subFolderFactory used. |
| Constructor Summary | |
FileLinkNodeFactory()
|
|
| Method Summary | |
protected NodeFactory |
getConfigurationDocumentFactory()
Gets the factory used within this package to create configuration documents |
LinkNode |
getInstance(Node parent,
String name,
ConfigurationDocument linkConfigurationDoc)
Constructs a LinkNode. |
protected NodeFactory |
getLinkNodeFactory()
Gets the factory used within this package to create links |
protected NodeFactory |
getSubFolderFactory()
Gets the factory used within this package to create folders |
private FileLinkNodeConfiguration |
readConfiguration(ConfigurationDocument linkConfigurationDoc)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private org.apache.commons.logging.Log log
private static final NodeFactory subFolderFactory
private static final NodeFactory configurationDocumentFactory
private static final NodeFactory linkNodeFactory
| Constructor Detail |
public FileLinkNodeFactory()
| Method Detail |
public LinkNode getInstance(Node parent,
String name,
ConfigurationDocument linkConfigurationDoc)
throws NodeCreationException
LinkNodeFactoryLinkNode.
getInstance in interface LinkNodeFactoryparent - the parent Folder of the
LinkNode. Can be null only if the LinkNode
is the root Node for the ConfigurationServicename - the name of the LinkNode. Cannot be null.linkConfigurationDoc - the ConfigurationDocument
containing the LinkNodeConfiguration for the new link.
Cannot be null.
NodeCreationException - if the LinkNode cannot be
created.LinkNodeFactory.getInstance(org.sape.carbon.core.config.node.Node, java.lang.String, org.sape.carbon.core.config.node.ConfigurationDocument)protected NodeFactory getSubFolderFactory()
protected NodeFactory getConfigurationDocumentFactory()
protected NodeFactory getLinkNodeFactory()
private FileLinkNodeConfiguration readConfiguration(ConfigurationDocument linkConfigurationDoc)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||