Package org.sonatype.guice.bean.reflect

Examples of org.sonatype.guice.bean.reflect.URLClassSpace


            log.debug("Path:");
            for (URL url : urls) {
                log.debug("  {}", url);
            }
        }
        return new URLClassSpace(parent, urls);
    }
View Full Code Here


            install(new ExtensionModule(space, false));
            super.configure();
        }

        private ClassSpace createClassSpace() {
            URLClassSpace space;
            if (plugin.classLoader instanceof PluginClassLoader) {
                PluginClassLoader cl = (PluginClassLoader) plugin.classLoader;
                space = new URLClassSpace(cl, cl.getURLs()); // urls logged from PluginWrapperFactory
            }
            else {
                log.warn("Expected plugin to have PluginClassLoader; instead found: {}", plugin.classLoader.getClass().getName());
                space = new URLClassSpace(plugin.classLoader);
            }

            return space;
        }
View Full Code Here

TOP

Related Classes of org.sonatype.guice.bean.reflect.URLClassSpace

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.