List of usage examples for org.springframework.context SmartLifecycle interface-usage
From source file org.springframework.integration.cluster.ClusterControlImpl.java
/**
* Implementation of {@link ClusterControl} using a row in a database
* table as a global lock across nodes. Ensures that one and only one
* node is active; allows exactly one non-master node to take over
* if necessary.
*
From source file org.springframework.integration.config.ConsumerEndpointFactoryBean.java
/**
* @author Mark Fisher
* @author Oleg Zhurakousky
* @author Josh Long
* @author Gary Russell
*/
From source file org.springframework.integration.file.WatchServiceDirectoryScanner.java
/**
* Directory scanner that uses Java 7 {@link WatchService}.
*
* The initial state of the directory is collected during {@link #start()}. Subsequent
* polls return new files as reported by {@code ENTRY_CREATE} events.
* <p>
From source file org.springframework.integration.hazelcast.leader.LeaderInitiator.java
/**
* Bootstrap leadership {@link org.springframework.integration.leader.Candidate candidates}
* with Hazelcast. Upon construction, {@link #start} must be invoked to
* register the candidate for leadership election.
*
* @author Patrick Peralta
From source file org.springframework.integration.history.MessageHistoryConfigurer.java
/** * @author Mark Fisher * @since 2.0 */ public class MessageHistoryConfigurer implements SmartLifecycle, BeanFactoryAware {
From source file org.springframework.integration.ip.tcp.connection.AbstractConnectionFactory.java
/**
* Base class for all connection factories.
*
* @author Gary Russell
* @since 2.0
*
From source file org.springframework.integration.jms.JmsDestinationBackedMessageChannel.java
/**
* A {@link MessageChannel} implementation that is actually backed by a JMS
* Destination. This class is useful as a drop-in replacement for any
* Spring Integration channel. The benefit of using this channel is that
* the full power of any JMS provider is available with only minimal
* configuration changes and without requiring any code changes. The most
From source file org.springframework.integration.jms.SubscribableJmsChannel.java
/** * @author Mark Fisher * @author Gary Russell * @since 2.0 */ public class SubscribableJmsChannel extends AbstractJmsChannel
From source file org.springframework.integration.kafka.listener.KafkaMessageListenerContainer.java
/** * @author Marius Bogoevici */ public class KafkaMessageListenerContainer implements SmartLifecycle { public static final int DEFAULT_WAIT_FOR_LEADER_REFRESH_RETRY = 5000;
From source file org.springframework.integration.kafka.support.KafkaProducerContext.java
/**
* @author Soby Chacko
* @author Rajasekar Elango
* @author Ilayaperumal Gopinathan
* @author Gary Russell
* @author Artem Bilan