JBoss ClassPool Parent POM 1.0.0.GA

org.jboss.classpool.base
Class DefaultClassLoaderIsLocalResourcePlugin

java.lang.Object
  extended by org.jboss.classpool.base.DefaultClassLoaderIsLocalResourcePlugin
All Implemented Interfaces:
IsLocalResourcePlugin

public class DefaultClassLoaderIsLocalResourcePlugin
extends Object
implements IsLocalResourcePlugin

Version:
$Revision: 97733 $
Author:
Kabir Khan

Constructor Summary
DefaultClassLoaderIsLocalResourcePlugin(BaseClassPool pool)
           
 
Method Summary
protected  AbstractClassPool getPool()
           
protected  void initialise()
           
 boolean isMyResource(String resourceName)
           
protected  boolean isSameInParent(String classResourceName, URL foundURL)
          Checks if the resource can be found in the parent classpool's loader and returns true if it either does not exist in the parent or if the parent has a different URL for the resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClassLoaderIsLocalResourcePlugin

public DefaultClassLoaderIsLocalResourcePlugin(BaseClassPool pool)
Method Detail

isMyResource

public boolean isMyResource(String resourceName)
Specified by:
isMyResource in interface IsLocalResourcePlugin

initialise

protected void initialise()

getPool

protected AbstractClassPool getPool()

isSameInParent

protected boolean isSameInParent(String classResourceName,
                                 URL foundURL)
Checks if the resource can be found in the parent classpool's loader and returns true if it either does not exist in the parent or if the parent has a different URL for the resource


JBoss ClassPool Parent POM 1.0.0.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.