if (!meta.getLifecycleMetaData().getIgnoreSystemListeners()) { ListenerList system = meta.getRepository().getSystemListeners(); fireEvent(ev, source, related, type, system, false, exceptions);
if (!meta.getLifecycleMetaData().getIgnoreSystemListeners()) { ListenerList system = meta.getRepository().getSystemListeners(); fireEvent(ev, source, related, type, system, false, exceptions);
if (!meta.getLifecycleMetaData().getIgnoreSystemListeners()) { ListenerList system = meta.getRepository().getSystemListeners(); fireEvent(ev, source, related, type, system, false, exceptions);
if (!meta.getLifecycleMetaData().getIgnoreSystemListeners()) { ListenerList system = meta.getRepository().getSystemListeners(); fireEvent(ev, source, related, type, system, false, exceptions);
if (!meta.getLifecycleMetaData().getIgnoreSystemListeners()) { ListenerList system = meta.getRepository().getSystemListeners(); fireEvent(ev, source, related, type, system, false, exceptions);
/** * Return true if any listeners are registered for the given source and * event type. */ private boolean hasListeners(Object source, ClassMetaData meta, int type) { if (meta.getLifecycleMetaData().getIgnoreSystemListeners()) return false; if (fireEvent(null, source, null, type, _listeners, true, null) == Boolean.TRUE) return true; ListenerList system = meta.getRepository().getSystemListeners(); if (!system.isEmpty() && fireEvent(null, source, null, type, system, true, null) == Boolean.TRUE) return true; if (_classListeners != null) { Class<?> c = source == null ? meta.getDescribedType() : source.getClass(); do { if (fireEvent(null, source, null, type, (ListenerList) _classListeners.get(c), true, null) == Boolean.TRUE) return true; c = c.getSuperclass(); } while (c != null && c != Object.class); } return false; }
/** * Return true if any listeners are registered for the given source and * event type. */ private boolean hasListeners(Object source, ClassMetaData meta, int type) { if (meta.getLifecycleMetaData().getIgnoreSystemListeners()) return false; if (fireEvent(null, source, null, type, _listeners, true, null) == Boolean.TRUE) return true; ListenerList system = meta.getRepository().getSystemListeners(); if (!system.isEmpty() && fireEvent(null, source, null, type, system, true, null) == Boolean.TRUE) return true; if (_classListeners != null) { Class<?> c = source == null ? meta.getDescribedType() : source.getClass(); do { if (fireEvent(null, source, null, type, (ListenerList) _classListeners.get(c), true, null) == Boolean.TRUE) return true; c = c.getSuperclass(); } while (c != null && c != Object.class); } return false; }
/** * Return true if any listeners are registered for the given source and * event type. */ private boolean hasListeners(Object source, ClassMetaData meta, int type) { if (meta.getLifecycleMetaData().getIgnoreSystemListeners()) return false; if (fireEvent(null, source, null, type, _listeners, true, null) == Boolean.TRUE) return true; ListenerList system = meta.getRepository().getSystemListeners(); if (!system.isEmpty() && fireEvent(null, source, null, type, system, true, null) == Boolean.TRUE) return true; if (_classListeners != null) { Class<?> c = source == null ? meta.getDescribedType() : source.getClass(); do { if (fireEvent(null, source, null, type, (ListenerList) _classListeners.get(c), true, null) == Boolean.TRUE) return true; c = c.getSuperclass(); } while (c != null && c != Object.class); } return false; }
/** * Return true if any listeners are registered for the given source and * event type. */ private boolean hasListeners(Object source, ClassMetaData meta, int type) { if (meta.getLifecycleMetaData().getIgnoreSystemListeners()) return false; if (fireEvent(null, source, null, type, _listeners, true, null) == Boolean.TRUE) return true; ListenerList system = meta.getRepository().getSystemListeners(); if (!system.isEmpty() && fireEvent(null, source, null, type, system, true, null) == Boolean.TRUE) return true; if (_classListeners != null) { Class<?> c = source == null ? meta.getDescribedType() : source.getClass(); do { if (fireEvent(null, source, null, type, (ListenerList) _classListeners.get(c), true, null) == Boolean.TRUE) return true; c = c.getSuperclass(); } while (c != null && c != Object.class); } return false; }
/** * Return true if any listeners are registered for the given source and * event type. */ private synchronized boolean hasListeners(Object source, ClassMetaData meta, int type) { if (meta.getLifecycleMetaData().getIgnoreSystemListeners()) return false; if (fireEvent(null, source, null, type, _listeners, true, null) == Boolean.TRUE) return true; ListenerList system = meta.getRepository().getSystemListeners(); if (!system.isEmpty() && fireEvent(null, source, null, type, system, true, null) == Boolean.TRUE) return true; if (_classListeners != null) { Class c = source == null ? meta.getDescribedType() : source.getClass(); do { if (fireEvent(null, source, null, type, (ListenerList) _classListeners.get(c), true, null) == Boolean.TRUE) return true; c = c.getSuperclass(); } while (c != null && c != Object.class); } return false; }