public void invokeWovenClassListener( org.osgi.framework.hooks.weaving.WovenClassListener wcl, org.osgi.framework.hooks.weaving.WovenClass wc) throws Exception { if (System.getSecurityManager() != null) { Actions actions = (Actions) m_actions.get(); actions.set(Actions.INVOKE_WOVEN_CLASS_LISTENER, wcl, wc); try { AccessController.doPrivileged(actions, m_acc); } catch (PrivilegedActionException e) { throw e.getException(); } } else { wcl.modified(wc); } }
@Override public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception { if (!(hook instanceof WovenClassListener)) return; try { ((WovenClassListener) hook).modified(WovenClassImpl.this); } catch (Exception e) { WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e); } }
@Override public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception { if (!(hook instanceof WovenClassListener)) return; try { ((WovenClassListener) hook).modified(WovenClassImpl.this); } catch (Exception e) { WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e); } }
@Override public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception { if (!(hook instanceof WovenClassListener)) return; try { ((WovenClassListener) hook).modified(WovenClassImpl.this); } catch (Exception e) { WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e); } }
@Override public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception { if (!(hook instanceof WovenClassListener)) return; try { ((WovenClassListener) hook).modified(WovenClassImpl.this); } catch (Exception e) { WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e); } }
@Override public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception { if (!(hook instanceof WovenClassListener)) return; try { ((WovenClassListener) hook).modified(WovenClassImpl.this); } catch (Exception e) { WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e); } }
@Override public void call(Object hook, ServiceRegistration<?> hookRegistration) throws Exception { if (!(hook instanceof WovenClassListener)) return; try { ((WovenClassListener) hook).modified(WovenClassImpl.this); } catch (Exception e) { WovenClassImpl.this.container.getEventPublisher().publishFrameworkEvent(FrameworkEvent.ERROR, hookRegistration.getReference().getBundle(), e); } }
return null; case INVOKE_WOVEN_CLASS_LISTENER: ((org.osgi.framework.hooks.weaving.WovenClassListener) arg1).modified( (org.osgi.framework.hooks.weaving.WovenClass) arg2); return null;