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.samples.platform.core.SystemUserInitDao.java

public class SystemUserInitDao implements ApplicationListener<ContextRefreshedEvent> {
    /** The {@link EntityManager}. */
    @PersistenceContext(unitName = EipPersistenceConfig.PERSISTENCE_UNIT_NAME, name = EipPersistenceConfig.ENTITY_MANAGER_FACTORY_NAME)
    private EntityManager em;
    private ObjectFactory of = new ObjectFactory();

From source file be.solidx.hot.spring.config.WebSocketConfig.java

@Configuration
@EnableWebSocket
public class WebSocketConfig implements WebSocketConfigurer, ApplicationListener<WebSocketActivationEvent> {

    private static final Log LOG = LogFactory.getLog(WebSocketConfig.class);

From source file com.epam.reportportal.auth.event.UiAuthenticationFailureEventHandler.java

/**
 * Initial implementation of authentication failures handler
 *
 * @author Andrei_Ramanchuk
 */
@Component

From source file com.intuit.karate.demo.config.ServerStartedInitializingBean.java

/**
 *
 * @author pthomas3
 */
@Component
public class ServerStartedInitializingBean

From source file springfox.documentation.schema.property.provider.DefaultModelPropertiesProvider.java

@Component(value = "default")
public class DefaultModelPropertiesProvider
        implements ModelPropertiesProvider, ApplicationListener<ObjectMapperConfigured> {

    private final FieldModelPropertyProvider fieldModelPropertyProvider;
    private final BeanModelPropertyProvider beanModelPropertyProvider;

From source file com.example.app.profile.service.MembershipOperationConfiguration.java

/**
 * Configuration for Membership Capability Functions to ensure they are unique within the database
 *
 * @author Alan Holt (aholt@venturetech.net)
 * @since 12/1/15 8:36 AM
 */

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

@Component
public class ContextFinalizer implements ApplicationListener<ContextClosedEvent> {

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

    @Override

From source file com.googlecode.starflow.engine.event.listener.AbstractProcessListener.java

/**
 * 
 * @author libinsong1204@gmail.com
 * @version 1.0
 */
public abstract class AbstractProcessListener implements ApplicationListener<ApplicationContextEvent> {

From source file ch.tatool.app.App.java

/**
 * Application entry point.
 * 
 * Loads the ApplicationContext which in return instantiates this class, which finally kicks off the display of the UI
 * once everything has been initialized.
 */

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

/**
 * Hooks into connection events to/from stomp. Only works for direct connections, not when using a broker.
 *
 * @author the-james-burton
 */
@Component