org.jboss.classpool.base
Class TranslatableClassLoaderIsLocalResourcePlugin
java.lang.Object
org.jboss.classpool.base.TranslatableClassLoaderIsLocalResourcePlugin
- All Implemented Interfaces:
- IsLocalResourcePlugin
public class TranslatableClassLoaderIsLocalResourcePlugin
- extends Object
- 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 |
TranslatableClassLoaderIsLocalResourcePlugin
public TranslatableClassLoaderIsLocalResourcePlugin(BaseClassPool pool)
isMyResource
public boolean isMyResource(String resourceName)
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.