|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployment.xml.parsing.EJB3DeploymentDescLoader
public final class EJB3DeploymentDescLoader
This class analyzes the EJB3 deployment descriptor and fill a struct with getters.
Field Summary | |
---|---|
private static java.lang.String |
JAVAEE_NS
Persistence namespace. |
private static JLog |
logger
Logger. |
private static boolean |
validating
Validating with schema ? |
Constructor Summary | |
---|---|
private |
EJB3DeploymentDescLoader()
Utility class, no constructor. |
Method Summary | |
---|---|
private static void |
analyzeBean(org.w3c.dom.Element beanElement,
AbsBean bean)
Analyze common stuff of a bean. |
private static void |
analyzeBeans(org.w3c.dom.Element enterpriseBeansElement,
EnterpriseBeans enterpriseBeans)
Analyze common stuff of beans. |
private static void |
analyzeEnvEnvtry(org.w3c.dom.Element envElement,
AbsEnvironment env)
Analyze the env-entry element. |
private static void |
analyzeEnvironement(org.w3c.dom.Element envElement,
AbsEnvironment env)
Analyze the environment (could be a bean, servlet, etc). |
static EJB3 |
loadDeploymentDescriptor(java.net.URL url)
Load the ejb-jar.xml file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String JAVAEE_NS
private static JLog logger
private static boolean validating
Constructor Detail |
---|
private EJB3DeploymentDescLoader()
Method Detail |
---|
public static EJB3 loadDeploymentDescriptor(java.net.URL url) throws ParsingException
url
- the URL of the XML file.
ParsingException
- if parsing of XML file fails.private static void analyzeBeans(org.w3c.dom.Element enterpriseBeansElement, EnterpriseBeans enterpriseBeans)
enterpriseBeansElement
- the dom element.enterpriseBeans
- the structure representing object.private static void analyzeBean(org.w3c.dom.Element beanElement, AbsBean bean)
beanElement
- the dom element.bean
- the structure representing object.private static void analyzeEnvironement(org.w3c.dom.Element envElement, AbsEnvironment env)
envElement
- the dom element.env
- the structure representing object.private static void analyzeEnvEnvtry(org.w3c.dom.Element envElement, AbsEnvironment env)
envElement
- the dom element.env
- the structure representing object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |