Package org.apache.geronimo.openejb.xbeans.ejbjar

Examples of org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument


            try {
                if (plan instanceof XmlObject) {
                    rawPlan = (XmlObject) plan;
                } else {
                    if (plan != null) {
                        OpenejbEjbJarDocument document = (OpenejbEjbJarDocument) XmlBeansUtil.parse(((File) plan).toURL(), XmlUtil.class.getClassLoader());
                        rawPlan = document.getEjbJar();
                    } else {
                        URL path = DeploymentUtil.createJarURL(moduleFile, "META-INF/geronimo-openejb.xml");
                        rawPlan = XmlBeansUtil.parse(path, XmlUtil.class.getClassLoader());
                    }
                }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.