Class RuntimeDescriptorFactory
- java.lang.Object
-
- com.sun.enterprise.deployment.node.runtime.RuntimeDescriptorFactory
-
public class RuntimeDescriptorFactory extends Object
This class is responsible for instantiating runtime Descriptor classes- Version:
- Author:
- Jerome Dochez
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RuntimeDescriptorFactory()
This is a factory object no need for DescriptorFactory instance
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object
getDescriptor(String xmlPath)
static Class
getDescriptorClass(String xmlPath)
static void
register(XMLElement xmlPath, Class clazz)
register a new descriptor class handling a particular XPATH in the DTD.
-
-
-
Method Detail
-
register
public static void register(XMLElement xmlPath, Class clazz)
register a new descriptor class handling a particular XPATH in the DTD.- Parameters:
xmlPath
- absolute or relative XPathclazz
- the descriptor class to use
-
getDescriptorClass
public static Class getDescriptorClass(String xmlPath)
- Returns:
- the descriptor tag for a particular XPath
-
-