org.jboss.classpool.base
Class DefaultClassLoaderIsLocalResourcePlugin
java.lang.Object
org.jboss.classpool.base.DefaultClassLoaderIsLocalResourcePlugin
- All Implemented Interfaces:
- IsLocalResourcePlugin
public class DefaultClassLoaderIsLocalResourcePlugin
- extends Object
- implements IsLocalResourcePlugin
- Version:
- $Revision: 97733 $
- Author:
- Kabir Khan
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 |
DefaultClassLoaderIsLocalResourcePlugin
public DefaultClassLoaderIsLocalResourcePlugin(BaseClassPool pool)
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
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.