| package j3.vm; |
| |
| public class OSGi |
| { |
| // OSGi hooks and information gathering |
| public static native void setBundleClassLoader(long bundleID, ClassLoader loaderObject); |
| public static native void notifyBundleUninstalled(long bundleID); |
| |
| // Commands |
| public static native void setBundleStaleReferenceCorrected(long bundleID, boolean corrected); |
| public static native boolean isBundleStaleReferenceCorrected(long bundleID); |
| public static native void dumpClassLoaderBundles(); |
| public static native void dumpReferencesToObject(long obj); |
| public static native void forceStaleReferenceScanning(); |
| } |