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 at.molindo.notify.util.AbstractSmartLifecycle.java

public abstract class AbstractSmartLifecycle implements SmartLifecycle {

    private final Object _monitor = new Object();

    @Override
    public final void start() {

From source file io.fabric8.kubeflix.TurbineLifecycle.java

public class TurbineLifecycle implements SmartLifecycle {

    private static final Logger LOGGER = LoggerFactory.getLogger(TurbineLifecycle.class);

    private final AtomicBoolean running = new AtomicBoolean();
    private final InstanceDiscovery instanceDiscovery;

From source file org.vertx.spring.examples.AbstractHandlerBean.java

/**
 * @author swilliams
 *
 */
public abstract class AbstractHandlerBean<T> implements SmartLifecycle, Handler<Message<T>> {

From source file com.ryantenney.metrics.spring.reporter.AbstractScheduledReporterFactoryBean.java

public abstract class AbstractScheduledReporterFactoryBean<T extends ScheduledReporter>
        extends AbstractReporterFactoryBean<T> implements SmartLifecycle, DisposableBean {

    private static final Pattern DURATION_STRING_PATTERN = Pattern.compile("^(\\d+)\\s?(ns|us|ms|s|m|h|d)?$");

    private boolean running;

From source file com.ryantenney.metrics.spring.reporter.JmxReporterFactoryBean.java

public class JmxReporterFactoryBean extends AbstractReporterFactoryBean<JmxReporter>
        implements SmartLifecycle, DisposableBean {

    // Optional
    public static final String DOMAIN = "domain";
    public static final String DURATION_UNIT = "duration-unit";

From source file com.xiovr.unibot.utils.HyperSqlDbServer.java

public class HyperSqlDbServer implements SmartLifecycle {
    private final Logger logger = LoggerFactory.getLogger(HyperSqlDbServer.class);
    private HsqlProperties properties;
    private Server server;
    private boolean running = false;

From source file org.vertx.spring.examples.SimpleVertxMessageProducer.java

/**
 * @author swilliams
 *
 */
public class SimpleVertxMessageProducer<T> implements SmartLifecycle, Handler<Message<T>>, VertxMessageProducer<T> {

From source file com.obergner.hzserver.HazelcastService.java

/**
 * <p>
 * TODO: Document HazelcastService
 * <p>
 * 
 * @author obergner <a href="olaf.bergner@gmx.de">Olaf Bergner</a>

From source file de.tudarmstadt.ukp.clarin.webanno.webapp.standalone.StandaloneShutdownDialog.java

public class StandaloneShutdownDialog implements SmartLifecycle {
    private final Log log = LogFactory.getLog(getClass());

    private boolean running = false;

    @Override

From source file org.age.services.lifecycle.internal.DefaultNodeLifecycleService.java

@Named
public class DefaultNodeLifecycleService implements SmartLifecycle, NodeLifecycleService {

    /**
     * States of this lifecycle manager (in other words - states of the node).
     *