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 org.arrow.service.listener.ConditionStartEventApplicationListener.java

/**
 * {@link ApplicationListener} used to start {@link ConditionalStartEvent}
 * instances.
 * 
 * @author christian.weber
 * @since 1.0.0

From source file org.codeqinvest.TestDataLoaderApplicationListener.java

/**
 * This is a helper class for loading some test data
 * into the database when the application is started with
 * test profile.
 *
 * @author fmueller

From source file com.enonic.cms.core.structure.SitePropertiesServiceImpl.java

@Component("sitePropertiesService")
public class SitePropertiesServiceImpl implements SitePropertiesService, ApplicationListener {
    private static final Logger LOG = LoggerFactory.getLogger(SitePropertiesService.class);

    private Properties defaultProperties;

From source file eu.supersede.fe.security.redis.session.AuthenticationSuccessListenerRedisSession.java

@Component
public class AuthenticationSuccessListenerRedisSession implements ApplicationListener<SessionCreatedEvent> {
    @Autowired
    private SessionRedisTemplate sessionTemplate;

    @Autowired

From source file com.db2eshop.governance.spring.ApplicationContextObserver.java

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

From source file com.kodgemisi.web.sample.config.listener.DefaultUserCreationListener.java

/**
 * Created by destan on 19.10.2015.
 */
@Component
public class DefaultUserCreationListener implements ApplicationListener {

From source file com.github.jxdong.marble.server.spring.MarbleSchedulerBean.java

public class MarbleSchedulerBean<T> extends SchedulerBeanConfig implements InitializingBean, DisposableBean,
        ApplicationContextAware, ApplicationListener, BeanNameAware, Serializable {
    private static final Logger logger = LoggerFactory.getLogger(MarbleSchedulerBean.class);

    private static transient ApplicationContext SPRING_CONTEXT;

From source file org.vaadin.webinars.springandvaadin.aspectj.ui.RoomsView.java

/**
 * @author petter@vaadin.com
 */
@Configurable
public class RoomsView extends VerticalLayout implements View, ApplicationListener<RoomCreatedEvent> {

From source file com.liferay.portal.spring.extender.internal.bean.ServiceReferenceAnnotationBeanPostProcessor.java

/**
 * @author Miguel Pastor
 */
public class ServiceReferenceAnnotationBeanPostProcessor
        implements ApplicationListener<ContextClosedEvent>, BeanPostProcessor {

From source file org.businessmanager.startup.StartupManager.java

/**
 * Setup environment and other stuff here
 * 
 */
@Component
public class StartupManager implements ApplicationListener<ContextRefreshedEvent> {