|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.classloader.spi.base.ClassLoaderInformation
public class ClassLoaderInformation
ClassLoaderInformation.
Constructor Summary | |
---|---|
ClassLoaderInformation(BaseClassLoader classLoader,
BaseClassLoaderPolicy policy,
int order)
Create a new ClassLoaderInformation. |
Method Summary | |
---|---|
void |
blackListClass(String name)
Blacklist a class |
void |
blackListResource(String name)
Blacklist a resource |
void |
cacheLoader(String name,
Loader loader)
Cache a loader for a class |
void |
cacheResource(String name,
URL url)
Cache a url for a resource |
void |
clearBlackList(String name)
Cleans the entry with the given name from the blackList |
void |
flushCaches()
Flush the caches |
Loader |
getCachedLoader(String name)
Get the cached loader for a class |
URL |
getCachedResource(String name)
Get the cached url for a resource |
BaseClassLoader |
getClassLoader()
Get the classLoader. |
List<? extends DelegateLoader> |
getDelegates()
Get the delegates. |
BaseDelegateLoader |
getExported()
Get the exported. |
int |
getOrder()
Get the order. |
BaseClassLoaderPolicy |
getPolicy()
Get the policy. |
boolean |
isBlackListedClass(String name)
Check whether this is a black listed class |
boolean |
isBlackListedResource(String name)
Check whether this is a black listed resource |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassLoaderInformation(BaseClassLoader classLoader, BaseClassLoaderPolicy policy, int order)
classLoader
- the classloaderpolicy
- the policyorder
- the added order
IllegalArgumentException
- for a null parameterMethod Detail |
---|
public void flushCaches()
public BaseClassLoader getClassLoader()
public BaseClassLoaderPolicy getPolicy()
public int getOrder()
public BaseDelegateLoader getExported()
public List<? extends DelegateLoader> getDelegates()
public Loader getCachedLoader(String name)
name
- the class name
public void cacheLoader(String name, Loader loader)
name
- the class nameloader
- the cached loaderpublic boolean isBlackListedClass(String name)
name
- the class name
public void blackListClass(String name)
name
- the class name to black listpublic URL getCachedResource(String name)
name
- the resource name
public void cacheResource(String name, URL url)
name
- the resource nameurl
- the cached urlpublic boolean isBlackListedResource(String name)
name
- the resource name
public void blackListResource(String name)
name
- the resource name to black listpublic void clearBlackList(String name)
name
- the name of the resource to clear from the blackListpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |