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 springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper.java

/**
 * After an application context refresh, builds and executes all DocumentationConfigurer instances found in the
 * application context.
 *
 * If no instances DocumentationConfigurer are found a default one is created and executed.
 */

From source file org.zalando.stups.tokens.AccessTokensBean.java

/**
 * @author jbellmann
 */
public class AccessTokensBean implements AccessTokens, SmartLifecycle, BeanFactoryAware {

    static final String OAUTH2_ACCESS_TOKENS = "OAUTH2_ACCESS_TOKENS";

From source file admin.jmx.BatchMBeanExporter.java

@ManagedResource
public class BatchMBeanExporter extends MBeanExporter implements SmartLifecycle {

    private static final Log logger = LogFactory.getLog(BatchMBeanExporter.class);

    public static final String DEFAULT_DOMAIN = "org.springframework.batch";

From source file org.trpr.platform.batch.impl.spring.jmx.BatchMetricsExporter.java

/**
 * The <code>BatchMetricsExporter</code> class is a utility for exporting read-only executions metrics of the various batch jobs deployed on the Trooper
 * Batch profile. Uses the {@link SimpleJobService} to get details of jobs and their executions. Uses a JMX object naming pattern bounded by
 * {@link JobAdministrator#getJMXBeanNamePrefix()} and {@link JobAdministrator#getJMXBeanNameSuffix()}
 *   
 * @author Regunath B

From source file com.dreamworks.dsp.server.EmbeddedSftpServer.java

/**
 * @author Artem Bilan
 */
public class EmbeddedSftpServer implements InitializingBean, SmartLifecycle {

    public static final int PORT = SocketUtils.findAvailableTcpPort();

From source file org.age.services.discovery.internal.HazelcastDiscoveryService.java

@Named
public final class HazelcastDiscoveryService implements SmartLifecycle, DiscoveryService {

    private static final String MEMBERS_MAP = "discovery/members";

    private static final Logger log = LoggerFactory.getLogger(HazelcastDiscoveryService.class);

From source file com.jbrisbin.vpc.jobsched.mapred.MapReduceMessageHandler.java

/**
 * @author Jon Brisbin <jon@jbrisbin.com>
 */
public class MapReduceMessageHandler implements ApplicationContextAware, SmartLifecycle {

    public static final int STARTING = 0;

From source file com.saysth.commons.quartz.SchedulerFactoryBean.java

/**
 * {@link FactoryBean} that creates and configures a Quartz
 * {@link org.quartz.Scheduler}, manages its lifecycle as part of the Spring
 * application context, and exposes the Scheduler as bean reference for
 * dependency injection.
 * 

From source file org.age.services.topology.internal.DefaultTopologyService.java

@Named("default")
public class DefaultTopologyService implements SmartLifecycle, TopologyService {

    public static final String CONFIG_MAP_NAME = "topology/config";

    public static final String CHANNEL_NAME = "topology/channel";

From source file org.age.services.worker.internal.DefaultWorkerService.java

public class DefaultWorkerService implements SmartLifecycle, WorkerCommunication, WorkerService {

    public static final String CHANNEL_NAME = "worker/channel";

    private static final Logger log = LoggerFactory.getLogger(WorkerService.class);