public interface OSGiToolsMXBean
| Modifier and Type | Method and Description |
|---|---|
long |
getLoadClassOrigin(long bundleID,
String clazz)
Returns from what bundle the given class was loaded, when requested in the context of a certain bundle.
|
String |
getResourceURL(long bundleID,
String resource)
Returns the URL where the requested resource was found, when looked up in the context of a certain bundle.
|
long getLoadClassOrigin(long bundleID,
String clazz)
bundleID - The bundle to load the class from.clazz - The class name to load.IllegalArgumentException - if an invalid bundle ID is provided.String getResourceURL(long bundleID, String resource)
bundleID - The bundle to load the class from.resource - The resource name to load. The format is as defined in ClassLoader.getResource.null is returned.IllegalArgumentException - if an invalid bundle ID is provided.Copyright © 2015 JBoss by Red Hat. All rights reserved.