/** * Activate this proxy configuration. * @see AdvisedSupportListener#activated */ private void activate() { this.active = true; for (AdvisedSupportListener listener : this.listeners) { listener.activated(this); } }
/** * Propagate advice change event to all AdvisedSupportListeners. * @see AdvisedSupportListener#adviceChanged */ @Override protected void adviceChanged() { super.adviceChanged(); synchronized (this) { if (this.active) { for (AdvisedSupportListener listener : this.listeners) { listener.adviceChanged(this); } } } }
/** * Activate this proxy configuration. * @see AdvisedSupportListener#activated */ private void activate() { this.active = true; for (AdvisedSupportListener listener : this.listeners) { listener.activated(this); } }
/** * Invoked when advice has changed. */ private synchronized void adviceChanged() { if (this.isActive) { for (int i = 0; i < this.listeners.size(); i++) { ((AdvisedSupportListener) this.listeners.get(i)).adviceChanged(this); } } }
/** * Activate this proxy configuration. * @see AdvisedSupportListener#activated */ private void activate() { this.active = true; for (AdvisedSupportListener listener : this.listeners) { listener.activated(this); } }
/** * Propagate advice change event to all AdvisedSupportListeners. * @see AdvisedSupportListener#adviceChanged */ @Override protected void adviceChanged() { super.adviceChanged(); synchronized (this) { if (this.active) { for (AdvisedSupportListener listener : this.listeners) { listener.adviceChanged(this); } } } }
private void activate() { this.isActive = true; for (int i = 0; i < this.listeners.size(); i++) { ((AdvisedSupportListener) this.listeners.get(i)).activated(this); } }
/** * Propagate advice change event to all AdvisedSupportListeners. * @see AdvisedSupportListener#adviceChanged */ @Override protected void adviceChanged() { super.adviceChanged(); synchronized (this) { if (this.active) { for (AdvisedSupportListener listener : this.listeners) { listener.adviceChanged(this); } } } }