@Override public void done() { if(this.pool!=null){ this.pool.stop(); } super.done(); }
@Override public void done() { synchronized (this) { if (this.deliveryActive) { this.deactivate(); } this.started = false; } if (this.pool != null) { this.pool.stop(); } suspendController.unRegisterActivity(serverActivity); super.done(); }
@Override public void stop() { getShutDownInterceptorFactory().shutdown(); if(this.pool!=null){ this.pool.stop(); } super.stop(); }
@Override public void stop() { ClassLoader oldTccl = SecurityActions.getContextClassLoader(); try { SecurityActions.setContextClassLoader(classLoader); endpoint.deactivate(endpointFactory, activationSpec); } catch (ResourceException re) { throw MESSAGES.failureDuringEndpointDeactivation(this.getComponentName(), re); } finally { SecurityActions.setContextClassLoader(oldTccl); } getShutDownInterceptorFactory().shutdown(); if (this.pool != null) { this.pool.stop(); } super.stop(); }