|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseClassLoaderMBean
BaseClassLoaderMBean.
Method Summary | |
---|---|
void |
clearBlackList()
Clear the black list |
void |
clearBlackList(String name)
Clear an entry from the black list |
ObjectName |
findClassLoaderForClass(String name)
Find the classloader for a class |
ObjectName |
getClassLoaderDomain()
Get the classloader domain |
String |
getName()
Get the name of the classloader |
int |
getResourceBlackListSize()
Get the number of resources black listed |
int |
getResourceCacheSize()
Get the number of resource cached |
boolean |
isBlackListable()
Whether to cache misses |
boolean |
isCacheable()
Whether to cache< |
boolean |
isImportAll()
Whether to import all exports from other classloaders in the domain |
boolean |
isValid()
Whether the classloader is still valid |
Set<String> |
listExportedPackages()
Get the exported packages |
List<ObjectName> |
listImports()
Get the imports of this classloader |
Set<String> |
listLoadedClasses()
Get the loaded classes |
Set<String> |
listLoadedResourceNames()
Get the loaded resource names |
Set<URL> |
listLoadedResources()
Get the loaded resources |
String |
listPolicyDetails()
Get the policy as a string |
Set<String> |
listResourceBlackList()
Show the resource blacklist |
Map<String,URL> |
listResourceCache()
Show the resource cache |
Class<?> |
loadClass(String name)
Load a class |
Set<URL> |
loadResources(String name)
Get resources |
Method Detail |
---|
ObjectName getClassLoaderDomain()
String getName()
boolean isImportAll()
boolean isCacheable()
boolean isBlackListable()
boolean isValid()
Set<String> listExportedPackages()
List<ObjectName> listImports()
String listPolicyDetails()
Set<String> listLoadedClasses()
Set<String> listLoadedResourceNames()
Set<URL> listLoadedResources()
Class<?> loadClass(String name) throws ClassNotFoundException
name
- the class name
ClassNotFoundException
- when the class is not foundSet<URL> loadResources(String name) throws IOException
name
- the name of the resource
IOException
- for any errorObjectName findClassLoaderForClass(String name) throws ClassNotFoundException
name
- the class name
ClassNotFoundException
- when the class is not foundMap<String,URL> listResourceCache()
Set<String> listResourceBlackList()
int getResourceBlackListSize()
int getResourceCacheSize()
void clearBlackList()
void clearBlackList(String name)
name
- the name of the entry to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |