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

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

Introduction

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

Usage

From source file com.db2eshop.gui.component.table.api.GenericTable.java

/**
 * <p>
 * Abstract GenericTable class.
 * </p>
 *
 * @author Denis Neuling (denisneuling@gmail.com)

From source file com.scottieknows.test.cassandra.CassandraClusterManager.java

public class CassandraClusterManager implements ApplicationListener<ContextRefreshedEvent> {

    private final Log log = LogFactory.getLog(CassandraClusterManager.class);
    private static final String USER_DIR = System.getProperty("user.dir");
    private static final String CCM = USER_DIR + File.separator + "ccm-2.1.3";

From source file is.landsbokasafn.crawler.rss.RssCrawlController.java

        CrawlURI.getPersistentDataKeys().add(RSS_SITE);
        CrawlURI.getPersistentDataKeys().add(RSS_URI_TYPE);
        CrawlURI.getPersistentDataKeys().add(RSS_MOST_RECENTLY_SEEN);
        CrawlURI.getPersistentDataKeys().add(RSS_IMPLIED_LINKS);
    }

From source file com.ebay.jetstream.event.channel.kafka.KafkaController.java

public class KafkaController extends AbstractNamedBean
        implements InitializingBean, ShutDownable, ApplicationListener, BeanChangeAware {

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

    public class ZkConnector {

From source file org.jasig.irclog.EventLogBot.java

/**
 * Implementation of PircBot that converts all the callbacks into strongly typed event objects.
 * Also handles automatic reconnecting to the configured server.
 * 
 * @author Eric Dalquist <a href="mailto:eric.dalquist@doit.wisc.edu">eric.dalquist@doit.wisc.edu</a>
 * @version $Revision$

From source file org.guanxi.sp.engine.Bootstrap.java

public class Bootstrap implements ApplicationListener, ApplicationContextAware, ServletContextAware {
    private static final Logger logger = Logger.getLogger(Bootstrap.class.getName());

    /** Spring ApplicationContext */
    @SuppressWarnings("unused")
    private ApplicationContext applicationContext = null;

From source file org.brekka.pegasus.core.services.impl.ProfileServiceImpl.java

/**
 * Profile contains information about a user, preferences etc.
 *
 * @author Andrew Taylor (andrew@brekka.org)
 */
@Service

From source file org.craftercms.commons.ebus.config.EBusBeanAutoConfiguration.java

/**
 * {@link org.springframework.context.ApplicationListener} implementation that finds beans registered in the current
 * {@link org.springframework.context.ApplicationContext} that look like a {@link org.craftercms.commons.ebus
 * .annotations.EListener} bean and interrogates it for event handling methods.
 *
 * @author Dejan Brkic

From source file org.guanxi.idp.Bootstrap.java

public class Bootstrap implements ApplicationListener, ApplicationContextAware, ServletContextAware {
    private static final Logger logger = Logger.getLogger(Bootstrap.class.getName());
    /** Spring ApplicationContext */
    @SuppressWarnings("unused")
    private ApplicationContext applicationContext = null;
    /** The servlet context */

From source file com.kixeye.chassis.support.ChassisConfiguration.java

/**
 * The main Spring configuration class for the Chassis.
 */
@Configuration
@EnableAspectJAutoProxy
@PropertySource("classpath:/chassis-default.properties")