org.sape.carbon.core.config.node.link
Interface LinkNodeFactory
- All Known Implementing Classes:
- ClassloaderLinkNodeFactory, FileLinkNodeFactory, GenericLinkNodeFactory, JarLinkNodeFactory, JNDILinkNodeFactory
- public interface LinkNodeFactory
Factory interface for objects that can construct LinkNodes.
Copyright 2002 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.3 $($Author: dvoet $ / $Date: 2003/05/05 21:21:19 $)
- Author:
- Douglas Voet, March 2002
getInstance
public LinkNode getInstance(Node parent,
String name,
ConfigurationDocument linkConfigurationDoc)
throws NodeCreationException
- Constructs a
LinkNode.
- Parameters:
parent - 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.
- Returns:
- LinkNode the new link
- Throws:
NodeCreationException - if the LinkNode cannot be
created.
NullPointerException - if name or linkConfigurationDoc is null
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.