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 protectedRuntimeDescriptorFactory()This is a factory object no need for DescriptorFactory instance
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectgetDescriptor(String xmlPath)static ClassgetDescriptorClass(String xmlPath)static voidregister(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
-
-