Package org.jboss.arquillian.testenricher.osgi

Examples of org.jboss.arquillian.testenricher.osgi.OSGiEnricherExtension


        Collection<LoadableExtension> result;

        ClassLoader classLoader = ArquillianExtensionLoader.class.getClassLoader();
        if (classLoader instanceof ModuleClassLoader) {
            // If this ExtensionLoader is used in the context of the arquillian-service use a hard coded list of extensions
            result = Arrays.asList(new ContainerTestRemoteExtension(), new OSGiEnricherExtension(), new JMXExtension());
        } else {
            // Otherwise (e.g. from the client class path) fall back to the default ExtensionLoader
            result = new JavaSPIExtensionLoader().load();
        }
View Full Code Here


        ClassLoader classLoader = ArquillianBundleExtensionLoader.class.getClassLoader();
        if (classLoader instanceof BundleReference) {
            // If this ExtensionLoader is used in the context of the installed bundle
            // use a hard coded list of extensions
            result = Arrays.asList(new ContainerTestRemoteExtension(), new OSGiEnricherExtension(), new JMXExtension());
        } else {
            // Otherwise (e.g. from the client class path) fall back to the default ExtensionLoader
            result = new JavaSPIExtensionLoader().load();
        }
        return result;
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.testenricher.osgi.OSGiEnricherExtension

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.