@Override public void afterPropertiesSet() throws Exception { if (taskExecutor == null) { taskExecutor = createDefaultTaskExecutor(); } super.afterPropertiesSet(); }
/** Start this server. */ @Override public final void start() { synchronized (lifecycleMonitor) { running = true; } onStart(); }
/** Stop this server. */ @Override public final void stop() { synchronized (lifecycleMonitor) { running = false; } onStop(); }
@Override public void afterPropertiesSet() throws Exception { super.afterPropertiesSet(); Assert.notNull(getMessageReceiver(), "messageReceiver must not be null"); }
/** Calls {@link #shutdown()} when the BeanFactory destroys the receiver instance. */ @Override public void destroy() { shutdown(); }
/** Calls {@link #activate()} when the BeanFactory initializes the receiver instance. */ @Override public void afterPropertiesSet() throws Exception { activate(); }
/** Shut down this server. */ public final void shutdown() { synchronized (lifecycleMonitor) { running = false; active = false; } onShutdown(); }
@Override public void afterPropertiesSet() throws Exception { if (taskExecutor == null) { taskExecutor = createDefaultTaskExecutor(); } super.afterPropertiesSet(); }
@Override public void afterPropertiesSet() throws Exception { super.afterPropertiesSet(); Assert.notNull(getMessageReceiver(), "messageReceiver must not be null"); }
/** Start this server. */ @Override public final void start() { synchronized (lifecycleMonitor) { running = true; } onStart(); }
/** Stop this server. */ @Override public final void stop() { synchronized (lifecycleMonitor) { running = false; } onStop(); }
/** Calls {@link #shutdown()} when the BeanFactory destroys the receiver instance. */ @Override public void destroy() { shutdown(); }
/** Calls {@link #activate()} when the BeanFactory initializes the receiver instance. */ @Override public void afterPropertiesSet() throws Exception { activate(); }
/** Shut down this server. */ public final void shutdown() { synchronized (lifecycleMonitor) { running = false; active = false; } onShutdown(); }
@Override public void afterPropertiesSet() throws Exception { if (taskExecutor == null) { taskExecutor = createDefaultTaskExecutor(); } super.afterPropertiesSet(); }
/** Start this server. */ @Override public final void start() { synchronized (lifecycleMonitor) { running = true; } onStart(); }
/** Stop this server. */ @Override public final void stop() { synchronized (lifecycleMonitor) { running = false; } onStop(); }
/** Calls {@link #shutdown()} when the BeanFactory destroys the receiver instance. */ @Override public void destroy() { shutdown(); }
/** Calls {@link #activate()} when the BeanFactory initializes the receiver instance. */ @Override public void afterPropertiesSet() throws Exception { activate(); }
/** Shut down this server. */ public final void shutdown() { synchronized (lifecycleMonitor) { running = false; active = false; } onShutdown(); }