org.sape.carbon.services.config.classloader
Class ClassloaderFolderFactory

java.lang.Object
  |
  +--org.sape.carbon.services.config.classloader.ClassloaderFolderFactory
All Implemented Interfaces:
NodeFactory

public class ClassloaderFolderFactory
extends Object
implements NodeFactory

Factory for creating folder nodes Copyright 2003 Sapient

Since:
carbon 2.0
Version:
$Revision: 1.4 $($Author: dvoet $ / $Date: 2003/11/11 21:19:58 $)
Author:
Greg Hinkle, April 2003

Constructor Summary
ClassloaderFolderFactory()
           
 
Method Summary
 Node getInstance(Node parent, String name)
          Only creates sub folders of other ClassloaderFolders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassloaderFolderFactory

public ClassloaderFolderFactory()
Method Detail

getInstance

public Node getInstance(Node parent,
                        String name)
                 throws NodeCreationException
Only creates sub folders of other ClassloaderFolders

Specified by:
getInstance in interface NodeFactory
Parameters:
parent - the parent Folder of the Node. Can be null only if the Node is the root Node for the ConfigurationService
name - the name of the Node. Cannot be null.
Returns:
Node the new Node
Throws:
InvalidParameterException - if parent is not assignable from ClassloaderFolder
NodeCreationException - if the LinkNode cannot be created.
See Also:
NodeFactory.getInstance(org.sape.carbon.core.config.node.Node, java.lang.String)


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.