org.sape.carbon.services.config.jar
Class JarFolderFactory
java.lang.Object
|
+--org.sape.carbon.services.config.jar.JarFolderFactory
- All Implemented Interfaces:
- NodeFactory
- public class JarFolderFactory
- extends Object
- implements NodeFactory
Factory for create folder nodes
Copyright 2002 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.2 $($Author: dvoet $ / $Date: 2003/05/05 21:21:09 $)
- Author:
- Douglas Voet, April 2002
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarFolderFactory
public JarFolderFactory()
getInstance
public Node getInstance(Node parent,
String name)
throws NodeCreationException
- Only creates sub folders of other FileFolders
- Specified by:
getInstance
in interface NodeFactory
- Parameters:
parent
- the parent node of the folder to be loadedname
- the name of the jar folder to load
- Returns:
- the newly loaded node
- Throws:
InvalidParameterException
- if parent is not assignable
from FileFolder
NodeCreationException
- indicates an error creating the node- See Also:
NodeFactory.getInstance(org.sape.carbon.core.config.node.Node, java.lang.String)
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.