Example usage for java.net URLClassLoader subclass-usage

List of usage examples for java.net URLClassLoader subclass-usage

Introduction

In this page you can find the example usage for java.net URLClassLoader subclass-usage.

Usage

From source file org.jtalks.jcommune.plugin.api.PluginClassLoader.java

/**
 * Custom ClassLoader implementation to load classes from a specified folder.
 * It's used as a discovery class loader for JCommune plugin code jars.
 * <p>Limitations of current implementation:
 * <p> - Only .jar files are supported
 * <p> - Subfolders and their content is ignored, so scan is non-recursive

From source file org.jtalks.jcommune.service.plugins.PluginClassLoader.java

/**
 * Custom ClassLoader implementation to load classes from a specified folder.
 * It's used as a discovery class loader for JCommune plugin code jars.
 * <p>Limitations of current implementation:
 * <p> - Only .jar files are supported
 * <p> - Subfolders and their content is ignored, so scan is non-recursive

From source file org.apache.hadoop.hbase.coprocessor.CoprocessorClassLoader.java

/**
 * ClassLoader used to load Coprocessor instances.
 * 
 * This ClassLoader always tries to load classes from the Coprocessor jar first 
 * before delegating to the parent ClassLoader, thus avoiding dependency 
 * conflicts between HBase's classpath and classes in the coprocessor's jar.  

From source file com.crosstreelabs.cognitio.common.ExtensionLoader.java

public class ExtensionLoader extends URLClassLoader {
    private static final Logger LOGGER = LoggerFactory.getLogger(ExtensionLoader.class);

    public ExtensionLoader(URL[] urls) {
        super(urls);
    }

From source file com.xpn.xwiki.render.groovy.XWikiPageClassLoader.java

public class XWikiPageClassLoader extends URLClassLoader {
    private static final Log LOG = LogFactory.getLog(XWikiPageClassLoader.class);

    public XWikiPageClassLoader(URL[] urls, ClassLoader parent) {
        super(urls, parent);
    }

From source file org.pentaho.hadoop.shim.HadoopConfigurationClassLoader.java

/**
 * Loads classes for a Hadoop configuration by looking for resources in the configuration directory first before
 * checking its parent class loader.
 */
public class HadoopConfigurationClassLoader extends URLClassLoader {

From source file com.eviware.soapui.plugins.JarClassLoader.java

public class JarClassLoader extends URLClassLoader implements PluginClassLoader {

    private static final Logger log = Logger.getLogger(JarClassLoader.class);
    public static final String LIB_PREFIX = "lib/";
    private final ClassLoader parent;
    private Collection<JarClassLoader> dependencyClassLoaders;

From source file org.ebayopensource.turmeric.eclipse.utils.classloader.SOAPluginClassLoader.java

/**
 * The Class SOAPluginClassLoader.
 *
 * @author smathew
 */
public class SOAPluginClassLoader extends URLClassLoader {

From source file org.atomserver.utils.conf.ConfigurationAwareClassLoader.java

/**
 * ConfigurationAwareClassLoader - a ClassLoader that is aware of the atomserver configuration
 * directories.
 *
 * @author Chris Berry  (chriswberry at gmail.com)
 * @author Bryon Jacob (bryon at jacob.net)

From source file de.xaniox.heavyspleef.addon.java.AddOnClassLoader.java

public class AddOnClassLoader extends URLClassLoader {

    private final BasicAddOn addOn;
    private final AddOnProperties properties;
    private final SharedClassContext classContext;
    private final Map<String, Class<?>> classes = Maps.newHashMap();