/** * {@inheritDoc} */ public final void stop() { this.lock.writeLock().lock(); try { stop(true); } finally { this.lock.writeLock().unlock(); } }
/** * {@inheritDoc} */ public final void stop() { this.lock.writeLock().lock(); try { stop(true); } finally { this.lock.writeLock().unlock(); } }
/** * {@inheritDoc} */ public final void revert() { this.lock.writeLock().lock(); try { stop(true); destroy(true); doInit(); } finally { this.lock.writeLock().unlock(); } }
/** * {@inheritDoc} */ public final void revert() { this.lock.writeLock().lock(); try { stop(true); destroy(true); doInit(); } finally { this.lock.writeLock().unlock(); } }
private void setPropertyInternal(String name, String value) { // Bring down the bean. The caller may have already broadcast this across the cluster stop(false); doInit(); this.state.setProperty(name, value); }
private void setPropertyInternal(String name, String value) { // Bring down the bean. The caller may have already broadcast this across the cluster stop(false); doInit(); this.state.setProperty(name, value); }
@Override protected void stop(boolean broadcast) super.stop(broadcast);
stop(false); logger.debug("destroy() deregister "+isPermanent); this.registry.deregister(this, isPermanent);
@Override protected void stop(boolean broadcast) super.stop(broadcast);
stop(false); logger.debug("destroy() deregister "+isPermanent); this.registry.deregister(this, isPermanent);
private void setPropertiesInternal(Map<String, String> properties) stop(false); doInit();
private void setPropertiesInternal(Map<String, String> properties) stop(false); doInit();
private void removePropertiesInternal(Collection<String> properties) stop(false); doInit();
private void removePropertiesInternal(Collection<String> properties) stop(false); doInit();