org.sape.carbon.core.config.node
Interface NodeFactory
- All Known Implementing Classes:
- AbstractClassloaderConfigurationDocumentFactory, AbstractFileConfigurationDocumentFactory, AbstractJarConfigurationDocumentFactory, AbstractJNDIConfigurationDocumentFactory, ClassloaderFolderFactory, FileFolderFactory, JarFolderFactory, JNDIFolderFactory, NestedConfigurationDocumentFactory
- public interface NodeFactory
Factory interface for objects that can construct Nodes.
Copyright 2002 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.6 $($Author: dvoet $ / $Date: 2003/05/05 21:21:18 $)
- Author:
- Douglas Voet, March 2002
getInstance
public Node getInstance(Node parent,
String name)
throws NodeCreationException
- Constructs a
Node.
- Parameters:
parent - the parent Folder of the
Node. Can be null only if the Node
is the root Node for the ConfigurationServicename - the name of the Node. Cannot be null.
- Returns:
- Node the new Node
- Throws:
NodeCreationException - if the LinkNode cannot be
created.
NullPointerException - if name or linkConfigurationDoc is null
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.