|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassLoaderDomainMBean
ClassLoaderSystemMBean.
Method Summary | |
---|---|
ObjectName |
findClassLoaderForClass(String name)
Find the classloader for a class |
void |
flushCaches()
Flush the caches |
int |
getClassBlackListSize()
Get the number of classes black listed |
int |
getClassCacheSize()
Get the number of classes cached |
String |
getName()
Get the name. |
ObjectName |
getParentDomain()
Get the parent |
String |
getParentDomainName()
Get the parent |
String |
getParentPolicyName()
Get the parent policy name |
int |
getResourceBlackListSize()
Get the number of resources black listed |
int |
getResourceCacheSize()
Get the number of resource cached |
ObjectName |
getSystem()
Get the classloader system |
Set<String> |
listClassBlackList()
Show the class blacklist |
Map<String,String> |
listClassCache()
Show the class cache |
List<ObjectName> |
listClassLoaders()
Get the classloaders |
Map<String,List<ObjectName>> |
listExportingClassLoaders()
Get the exporting classloaders |
List<ObjectName> |
listExportingClassLoaders(String packageName)
Get the classloaders export a package |
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 getSystem()
String getName()
String getParentPolicyName()
ObjectName getParentDomain()
String getParentDomainName()
List<ObjectName> listClassLoaders()
Map<String,List<ObjectName>> listExportingClassLoaders()
List<ObjectName> listExportingClassLoaders(String packageName)
packageName
- the package name
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,String> listClassCache()
Set<String> listClassBlackList()
Map<String,URL> listResourceCache()
Set<String> listResourceBlackList()
int getClassBlackListSize()
int getClassCacheSize()
int getResourceBlackListSize()
int getResourceCacheSize()
void flushCaches()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |