Package org.apache.openejb.config

Examples of org.apache.openejb.config.ConfigurableClasspathArchive$FakeModule


    @Before
    public void initFinder() throws Exception {
        final ClassLoader loader = Thread.currentThread().getContextClassLoader();
        System.setProperty(SCAN_XML_PROPERTY, scanXml());
        finder = new AnnotationFinder(new ConfigurableClasspathArchive(loader,
            Arrays.asList(
                new URL(loader.getResource(scanXml()).toExternalForm().replace(scanXml(), ""))
            )
        ));
        System.clearProperty("openejb.scan.xml.name");
View Full Code Here


    @Before
    public void initFinder() throws Exception {
        final ClassLoader loader = Thread.currentThread().getContextClassLoader();
        System.setProperty(SCAN_XML_PROPERTY, scanXml());
        finder = new AnnotationFinder(new ConfigurableClasspathArchive(loader,
                Arrays.asList(
                        new URL(loader.getResource(scanXml()).toExternalForm().replace(scanXml(), ""))
                )
        ));
        System.clearProperty("openejb.scan.xml.name");
View Full Code Here

TOP

Related Classes of org.apache.openejb.config.ConfigurableClasspathArchive$FakeModule

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.