Package org.ow2.util.xmlconfig

Examples of org.ow2.util.xmlconfig.XMLConfiguration.configure()


        EasyBeansDD easyBeansDD = null;
        if (easybeansXmlURL != null) {
            easyBeansDD = new EasyBeansDD();
            XMLConfiguration xmlConfiguration = new XMLConfiguration(easybeansXmlURL, "easybeans-mapping.xml");
            try {
                xmlConfiguration.configure(easyBeansDD);
            } catch (XMLConfigurationException e) {
                throw new ParsingException(
                        "Cannot create the object representing EasyBeans specific Deployment Descriptor", e);
            }
        }
View Full Code Here


        if (contextualInstances != null) {
            xmlConfiguration.setContextualInstances(contextualInstances);
        }

        try {
            xmlConfiguration.configure(embedded);
        } catch (XMLConfigurationException e) {
            throw new EmbeddedException("Cannot configure the embedded server", e);
        }
        logger.debug("Configuration done in : {0} ms", Long.valueOf((System.currentTimeMillis() - tStart)));
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.