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.admob.rocksteady.common.ServiceManager.java

/**
 * The Service Manager manages the life cycle of all the services in the server.
 * Services are started and shutdown using this manager.
 */
public class ServiceManager implements ApplicationListener {

From source file it.geosolutions.geobatch.global.CatalogHolder.java

/**
 * @author Alessio Fabiani, GeoSolutions
 * @author Carlo Cancellieri, GeoSolutions
 * 
 */
public abstract class CatalogHolder implements ApplicationListener<ApplicationEvent> {

From source file com.sunflower.petal.utils.Bootstrap.java

@Component
public class Bootstrap implements ApplicationListener<ContextRefreshedEvent> {

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

    public void onApplicationEvent(ContextRefreshedEvent e) {

From source file org.apache.cxf.fediz.service.idp.service.jpa.DBInitApplicationListener.java

@Component
public class DBInitApplicationListener implements ApplicationListener<ContextRefreshedEvent> {

    private static final Logger LOG = LoggerFactory.getLogger(DBInitApplicationListener.class);

    private EntityManager em;

From source file ru.mystamps.web.support.spring.security.AuthenticationFailureListener.java

@RequiredArgsConstructor
public class AuthenticationFailureListener
        implements ApplicationListener<AuthenticationFailureBadCredentialsEvent> {

    private static final Logger LOG = LoggerFactory.getLogger(AuthenticationFailureListener.class);

From source file org.davidmendoza.fileUpload.utils.Bootstrap.java

@Component
public class Bootstrap implements ApplicationListener<ContextRefreshedEvent> {

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

    @Override

From source file org.exoplatform.acceptance.lifecycle.DevelopmentInitializer.java

/**
 * Bootstrap service is used to initialize the application in a development environment
 *
 * @author Arnaud Hritier ( aheritier@exoplatform.com )
 * @since 2.0.0
 */

From source file org.jimsey.projects.turbine.condenser.BrokerListener.java

/**
 * Hooks into websocket broker availability events.
 *
 * @author the-james-burton
 */
@Component

From source file cn.org.once.cstack.config.UserAuthenticationSuccess.java

@Component
public class UserAuthenticationSuccess implements ApplicationListener<AuthenticationSuccessEvent> {

    @Inject
    private UserService userService;

From source file org.web4thejob.orm.MappingInitializer.java

/**
 * @author Veniamin Isaias
 * @since 1.0.0
 */

/* package */class MappingInitializer implements ApplicationListener<ContextRefreshedEvent> {