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

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

Introduction

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

Usage

From source file com.opengamma.financial.temptarget.BerkeleyDBTempTargetRepository.java

/**
 * {@link RollingTempTargetRepository} implementation based on Berkeley DB stores.
 */
public class BerkeleyDBTempTargetRepository extends RollingTempTargetRepository implements Lifecycle {

    private static final Logger s_logger = LoggerFactory.getLogger(BerkeleyDBTempTargetRepository.class);

From source file com.opengamma.livedata.client.CogdaLiveDataClient.java

/**
 * Live data client connecting to a COGDA server.
 * <p>
 * This connects to an instance of {@link CogdaLiveDataServer}.
 */
public class CogdaLiveDataClient extends AbstractLiveDataClient implements Lifecycle, FudgeMessageReceiver {

From source file com.predic8.membrane.core.cloud.etcd.EtcdBasedConfigurator.java

@MCElement(name = "etcdBasedConfigurator")
public class EtcdBasedConfigurator implements ApplicationContextAware, Lifecycle, DisposableBean {

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

    private ApplicationContext context;

From source file com.predic8.membrane.core.cloud.etcd.EtcdPublisher.java

@MCElement(name = "etcdPublisher")
public class EtcdPublisher implements ApplicationContextAware, Lifecycle {
    private static final Log log = LogFactory.getLog(EtcdPublisher.class.getName());

    private ApplicationContext context;
    private HashMap<String, ArrayList<String>> modulesToUUIDs = new HashMap<String, ArrayList<String>>();

From source file com.predic8.membrane.core.interceptor.apimanagement.apiconfig.EtcdRegistryApiConfig.java

@MCElement(name = "etcdRegistryApiConfig")
public class EtcdRegistryApiConfig implements Lifecycle, ApplicationContextAware, ApiConfig, DisposableBean {

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

    private ApplicationContext context;

From source file com.predic8.membrane.core.jmx.JmxExporter.java

@MCElement(name = JmxExporter.JMX_EXPORTER_NAME)
public class JmxExporter extends MBeanExporter implements Lifecycle, ApplicationContextAware, DisposableBean {

    public static final String JMX_EXPORTER_NAME = "jmxExporter";
    HashMap<String, Object> jmxBeans = new HashMap<String, Object>();

From source file de.blizzy.documentr.system.SystemSettingsStore.java

/** Manages storage of system settings. */
@Component
@Slf4j
public class SystemSettingsStore implements Lifecycle {
    public static final String DOCUMENTR_HOST = "documentrHost"; //$NON-NLS-1$
    public static final String SITE_NOTICE = "siteNotice"; //$NON-NLS-1$

From source file dstrelec.nats.core.DefaultConnectionFactory.java

/**
 * The {@link NatsConnectionFactory} implementation for the {@code singleton} shared {@link Connection}
 * instance.
 * <p>
 * This implementation will create a single {@link Connection} instance for provided {@code configs}.
 * <p>

From source file org.archive.crawler.frontier.AMQPUrlReceiver.java

/**
 * @contributor nlevitt
 */
public class AMQPUrlReceiver implements Lifecycle, ApplicationContextAware, ApplicationListener<CrawlStateEvent> {

    @SuppressWarnings("unused")

From source file org.archive.modules.fetcher.AbstractCookieStore.java

abstract public class AbstractCookieStore implements Lifecycle, Checkpointable, CookieStore, FetchHTTPCookieStore {

    public static final int MAX_COOKIES_FOR_DOMAIN = 50;

    protected final Logger logger = Logger.getLogger(AbstractCookieStore.class.getName());