public class DefaultClassLoaderIsLocalResourcePlugin extends Object implements IsLocalResourcePlugin
| Constructor and Description |
|---|
DefaultClassLoaderIsLocalResourcePlugin(BaseClassPool pool) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public DefaultClassLoaderIsLocalResourcePlugin(BaseClassPool pool)
public boolean isMyResource(String resourceName)
isMyResource in interface IsLocalResourcePluginprotected void initialise()
protected AbstractClassPool getPool()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.