List of usage examples for org.springframework.context SmartLifecycle interface-usage
From source file at.molindo.notify.dispatch.PollingPushDispatcher.java
public class PollingPushDispatcher extends AbstractPushDispatcher implements INotifyService.INotificationListner, DisposableBean, SmartLifecycle { private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(PollingPushDispatcher.class); private static final int DEFAULT_POOL_SIZE = 1;
From source file cern.c2mon.server.cache.dbaccess.impl.CacheDbLifecycle.java
/**
* Manages the closing of the cache DB connections.
* @author Mark Brightwell
*
*/
@Service
From source file com.amazonaws.services.simpleworkflow.flow.spring.SpringWorkflowWorker.java
/**
* To be used with Spring. Assumes that injected implementation bean has
* "workflow" scope. Otherwise the same object instance will be reused for
* multiple decisions which is guaranteed to break replay if any instance fields
* are used.
*/
From source file org.springsource.sinspctr.InspctrServer.java
/**
* @author Mark Fisher
* @author Jennifer Hickey
* @author Gary Russell
* @author David Turanski
* @author Andrew Eisenberg
From source file com.amazonaws.services.simpleworkflow.flow.spring.SpringActivityWorker.java
public class SpringActivityWorker implements WorkerBase, SmartLifecycle { private final GenericActivityWorker genericWorker; private final POJOActivityImplementationFactory factory = new POJOActivityImplementationFactory();
From source file de.tudarmstadt.ukp.clarin.webanno.webapp.migration.FixCoreferenceFeatures.java
import org.springframework.transaction.support.DefaultTransactionDefinition; /** * WebAnno versions until 3.0.0 set the feature types of Coreference features "referenceType" * and "referenceRelation" wrongly to "de.tudarmstadt.ukp.dkpro.core.api.coref.type.Coreference" - * it should be "uima.cas.String"
From source file org.apache.zeppelin.lens.LensJLineShellComponent.java
/** * workaround for https://github.com/spring-projects/spring-shell/issues/73 */ public class LensJLineShellComponent extends JLineShell implements SmartLifecycle, ApplicationContextAware, InitializingBean {
From source file io.sample.sshd.utilities.EmbeddedSftpServer.java
/** * @author Artem Bilan */ public class EmbeddedSftpServer implements InitializingBean, SmartLifecycle { public static final int PORT = SocketUtils.findAvailableTcpPort();
From source file at.ac.univie.isc.asio.brood.Warden.java
/**
* Orchestrate container creation and destruction. On application start all stored configuration
* items are scanned for containers, that need to be deployed. On shutdown all deployed containers
* are dropped (but not disposed).
*/
@Component
From source file ch.rasc.wampspring.broker.SimpleBrokerMessageHandler.java
/** * @author Rossen Stoyanchev * @author Ralph Schaer */ public class SimpleBrokerMessageHandler implements MessageHandler, SmartLifecycle {