org.jboss.classpool.base
Class URLClassLoaderIsLocalResourcePlugin
java.lang.Object
org.jboss.classpool.base.URLClassLoaderIsLocalResourcePlugin
- All Implemented Interfaces:
- IsLocalResourcePlugin
public class URLClassLoaderIsLocalResourcePlugin
- extends Object
- Version:
- $Revision: 97733 $
- Author:
- Kabir Khan
Method Summary |
protected AbstractClassPool |
getPool()
|
protected void |
initialise()
|
boolean |
isMyResource(String classResourceName)
|
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 |
URLClassLoaderIsLocalResourcePlugin
public URLClassLoaderIsLocalResourcePlugin(BaseClassPool pool)
isMyResource
public boolean isMyResource(String classResourceName)
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
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.