public void close() { synchronized (genMonitor) { if (bundleFile != null) { try { bundleFile.close(); } catch (IOException e) { // ignore } } } }
public void close() { synchronized (genMonitor) { if (bundleFile != null) { try { bundleFile.close(); } catch (IOException e) { // ignore } } } }
public void close() { synchronized (genMonitor) { if (bundleFile != null) { try { bundleFile.close(); } catch (IOException e) { // ignore } } } }
public void close() { synchronized (genMonitor) { if (bundleFile != null) { try { bundleFile.close(); } catch (IOException e) { // ignore } } } }
@Override public void close() throws IOException { bundleFile.close(); }
public void close() { synchronized (genMonitor) { if (bundleFile != null) { try { bundleFile.close(); } catch (IOException e) { // ignore } } } }
public void close() { synchronized (genMonitor) { if (bundleFile != null) { try { bundleFile.close(); } catch (IOException e) { // ignore } } } }
@Override public void close() throws IOException { bundleFile.close(); }
@Override public void close() throws IOException { bundleFile.close(); }
@Override public void close() throws IOException { bundleFile.close(); }
@Override public void close() throws IOException { bundleFile.close(); }
@Override public void close() throws IOException { bundleFile.close(); }
public final void dispatchEvent(Object eventListener, Object listenerObject, int eventAction, BundleFile eventObject) { if (firstDispatch) { // used to work around bug 275166; we don't want to leak the TCCL in this thread. Thread.currentThread().setContextClassLoader(null); firstDispatch = false; } try { closingBundleFile.set(eventObject); eventObject.close(); } catch (IOException e) { // TODO should log ?? } finally { closingBundleFile.set(null); } }
public final void dispatchEvent(Object eventListener, Object listenerObject, int eventAction, BundleFile eventObject) { if (firstDispatch) { // used to work around bug 275166; we don't want to leak the TCCL in this thread. Thread.currentThread().setContextClassLoader(null); firstDispatch = false; } try { closingBundleFile.set(eventObject); eventObject.close(); } catch (IOException e) { // TODO should log ?? } finally { closingBundleFile.set(null); } }
/** * Closes all the classpath entry resources for this FragmentClasspath. * */ public void close() { for (int i = 0; i < entries.length; i++) { try { entries[i].getBundleFile().close(); } catch (IOException e) { generation.getBundleInfo().getStorage().getAdaptor().publishContainerEvent(ContainerEvent.ERROR, generation.getRevision().getRevisions().getModule(), e); } } }
/** * Closes all the classpath entry resources for this FragmentClasspath. * */ public void close() { for (int i = 0; i < entries.length; i++) { try { entries[i].getBundleFile().close(); } catch (IOException e) { generation.getBundleInfo().getStorage().getAdaptor().publishContainerEvent(ContainerEvent.ERROR, generation.getRevision().getRevisions().getModule(), e); } } }
/** * Closes all the classpath entry resources for this FragmentClasspath. * */ public void close() { for (int i = 0; i < entries.length; i++) { try { entries[i].getBundleFile().close(); } catch (IOException e) { generation.getBundleInfo().getStorage().getAdaptor().publishContainerEvent(ContainerEvent.ERROR, generation.getRevision().getRevisions().getModule(), e); } } }
/** * Closes all the classpath entry resources for this FragmentClasspath. * */ public void close() { for (int i = 0; i < entries.length; i++) { try { entries[i].getBundleFile().close(); } catch (IOException e) { generation.getBundleInfo().getStorage().getAdaptor().publishContainerEvent(ContainerEvent.ERROR, generation.getRevision().getRevisions().getModule(), e); } } }