Example usage for org.springframework.context SmartLifecycle interface-usage

List of usage examples for org.springframework.context SmartLifecycle interface-usage

Introduction

In this page you can find the example usage for org.springframework.context SmartLifecycle interface-usage.

Usage

From source file org.springframework.boot.autoconfigure.grpc.server.GrpcServerLifecycle.java

/**
 * Manages the lifecycle of a gRPC server. It uses the {@link GrpcServerFactory}
 * to create a new instance of a gRPC server, and then manages it according to the
 * {@link SmartLifecycle}.
 * @author Ray Tsang
 */

From source file org.springframework.cloud.config.monitor.FileMonitorConfiguration.java

/**
 * Configuration for a file watcher that detects changes in local files related to the
 * environment repository. If any files change the {@link PropertyPathEndpoint} is pinged
 * with the paths of the files. This applies to the source files of a local git repository
 * (i.e. a git repository with a "file:" URI) or to a native repository.
 *

From source file org.springframework.cloud.function.web.source.SupplierExporter.java

/**
 * Forwards items obtained from a {@link Supplier} or set of suppliers to an external HTTP
 * endpoint.
 *
 * @author Dave Syer
 * @author Oleg Zhurakousky

From source file org.springframework.cloud.gateway.rsocket.server.GatewayRSocketServer.java

public class GatewayRSocketServer implements Ordered, SmartLifecycle {

    private static final Log log = LogFactory.getLog(GatewayRSocketServer.class);

    private static final RSocketInterceptor[] EMPTY_INTERCEPTORS = new RSocketInterceptor[0];

From source file org.springframework.cloud.gcp.autoconfigure.datastore.GcpDatastoreEmulatorAutoConfiguration.java

/**
 * If spring.cloud.gcp.datastore.emulator.enabled is set to true the emulator will be
 * started as a local datastore server using the
 * {@link com.google.cloud.datastore.testing.LocalDatastoreHelper}.
 *
 * @author Lucas Soares

From source file org.springframework.cloud.netflix.eureka.server.EurekaServerInitializerConfiguration.java

/**
 * @author Dave Syer
 *
 */
@Configuration
@EnableConfigurationProperties(EurekaServerConfigBean.class)

From source file org.springframework.cloud.netflix.eureka.serviceregistry.EurekaAutoServiceRegistration.java

/**
 * @author Dave Syer
 * @author Spencer Gibb
 * @author Jon Schneider
 * @author Jakub Narloch
 */

From source file org.springframework.cloud.netflix.turbine.stream.TurbineStreamConfiguration.java

/**
 * @author Spencer Gibb
 */
@Configuration
@EnableConfigurationProperties(TurbineStreamProperties.class)
public class TurbineStreamConfiguration implements SmartLifecycle {

From source file org.springframework.cloud.stream.annotation.rxjava.SubjectMessageHandler.java

/**
 * Adapts the item at a time delivery of a {@link org.springframework.messaging.MessageHandler}
 * by delegating processing to a {@link Observable}.
 * <p/>
 * The outputStream of the processor is used to create a message and send it to the output channel.  If the
 * input channel and output channel are connected to the {@link org.springframework.cloud.stream.binder.Binder},

From source file org.springframework.cloud.stream.app.gpfdist.sink.AbstractGpfdistMessageHandler.java

/**
 * Base implementation of Spring Integration {@code MessageHandler} handling {@code Message}.
 *
 * @author Janne Valkealahti
 */
public abstract class AbstractGpfdistMessageHandler extends AbstractMessageHandler implements SmartLifecycle {