/** * Destroy the singleton instance, if any. * @see #destroyInstance(Object) */ @Override public void destroy() throws Exception { if (isSingleton()) { destroyInstance(this.singletonInstance); } }
/** * Destroy the singleton instance, if any. * @see #destroyInstance(Object) */ @Override public void destroy() throws Exception { if (isSingleton()) { destroyInstance(this.singletonInstance); } }
/** * Destroy the singleton instance, if any. * @see #destroyInstance(Object) */ public void destroy() throws Exception { if (isSingleton()) { destroyInstance(this.singletonInstance); } }
public void destroy() throws Exception { if (this.singleton) { destroyInstance(this.singletonInstance); } }
/** * Destroy the singleton instance, if any. * @see #destroyInstance(Object) */ @Override public void destroy() throws Exception { if (isSingleton()) { destroyInstance(this.singletonInstance); } }
protected void destroyInstance(Object instance) throws Exception { super.destroyInstance(instance); LdapTestUtils.shutdownEmbeddedServer(); } }
protected void destroyInstance(Object instance) throws Exception { super.destroyInstance(instance); LdapTestUtils.shutdownEmbeddedServer(); } }
/** {@inheritDoc}. Call our destroy method if aposite. */ @Override protected void destroyInstance(final T instance) throws Exception { super.destroyInstance(instance); ComponentSupport.destroy(instance); }
protected void destroyInstance(ContextSource instance) throws Exception { super.destroyInstance(instance); LdapTestUtils.shutdownEmbeddedServer(); } }