private synchronized boolean isLazyTriggerSet() { if (proxy == null) return false; BundleLoader loader = proxy.getBasicBundleLoader(); return loader != null ? loader.isLazyTriggerSet() : false; }
private synchronized boolean isLazyTriggerSet() { if (proxy == null) return false; BundleLoader loader = proxy.getBasicBundleLoader(); return loader != null ? loader.isLazyTriggerSet() : false; }
public ClassLoader getClassLoader(Bundle b) { BundleHost host = (BundleHost) b; BundleLoaderProxy lp = host.getLoaderProxy(); BundleLoader bl = (lp == null) ? null : lp.getBasicBundleLoader(); BundleClassLoader cl = (bl == null) ? null : bl.createClassLoader(); return ((cl instanceof ClassLoader) ? (ClassLoader) cl : null); } }
static public void closeBundleLoader(BundleLoaderProxy proxy) { if (proxy == null) return; // First close the BundleLoader BundleLoader loader = proxy.getBasicBundleLoader(); if (loader != null) loader.close(); proxy.setStale(); // if proxy is not null then make sure to unset user object // associated with the proxy in the state BundleDescription description = proxy.getBundleDescription(); // must set it back to the bundle object; not null // need to make sure the user object is a BundleReference description.setUserObject(proxy.getBundleData()); } }
static public void closeBundleLoader(BundleLoaderProxy proxy) { if (proxy == null) return; // First close the BundleLoader BundleLoader loader = proxy.getBasicBundleLoader(); if (loader != null) loader.close(); proxy.setStale(); // if proxy is not null then make sure to unset user object // associated with the proxy in the state BundleDescription description = proxy.getBundleDescription(); // must set it back to the bundle object; not null // need to make sure the user object is a BundleReference description.setUserObject(proxy.getBundleData()); } }
BundleLoader loader = getLoaderProxy().getBasicBundleLoader();
BundleLoader loader = getLoaderProxy().getBasicBundleLoader();