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.sibvisions.rad.server.security.spring.logout.DestroySessionApplicationListener.java

/**
 * Handles destroy of the server session.
 * 
 * Ensure that a HttpSessionEventPublisher is registered in your web.xml.
 * 
 * e.g.:

From source file org.trustedanalytics.servicebroker.gearpump.service.prerequisities.PrerequisitiesConfig.java

@Configuration
public class PrerequisitiesConfig implements ApplicationListener<ContextRefreshedEvent> {
    private static final Logger LOGGER = LoggerFactory.getLogger(PrerequisitiesConfig.class);

    @Autowired
    PrerequisitesChecker prerequisitesChecker;

From source file it.geosolutions.geoserver.jms.JMSApplicationListener.java

/**
 * 
 * This class make it possible to enable and disable the Event producer/consumer using Applications Events.
 * 
 * This is used at the GeoServer startup to disable the producer until the initial configuration is loaded.
 * 

From source file sample.websocket.WebSocketDisconnectHandler.java

public class WebSocketDisconnectHandler<S> implements ApplicationListener<SessionDisconnectEvent> {
    private ActiveWebSocketUserRepository repository;
    private SimpMessageSendingOperations messagingTemplate;

    public WebSocketDisconnectHandler(SimpMessageSendingOperations messagingTemplate,
            ActiveWebSocketUserRepository repository) {

From source file org.web4thejob.context.ORMLauncher.java

/**
 * @author Veniamin Isaias
 * @since 3.5.0
 */

@Component

From source file org.zenoss.zep.impl.RawEventQueueListener.java

public class RawEventQueueListener extends AbstractQueueListener
        implements ApplicationListener<EventIndexQueueSizeEvent>, ApplicationEventPublisherAware {

    private static final Logger logger = LoggerFactory.getLogger(RawEventQueueListener.class);

    private int prefetchCount = 100;

From source file org.socialsignin.spring.data.dynamodb.mapping.event.AbstractDynamoDBEventListener.java

/**
 * Base class to implement domain class specific {@link ApplicationListener}s.
 *
 * @author Michael Lavelle
 */
public abstract class AbstractDynamoDBEventListener<E> implements ApplicationListener<DynamoDBMappingEvent<?>> {

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

public interface ModelPropertiesProvider extends ApplicationListener<ObjectMapperConfigured> {
    List<ModelProperty> propertiesFor(ResolvedType type, ModelContext givenContext);
}

From source file io.curly.gathering.mention.MentionEventHandler.java

/**
 * @author Joo Pedro Evangelista
 */
@Component
public class MentionEventHandler implements ApplicationListener<MentionEvent> {

From source file com.orange.clara.cloud.boot.ssl.SslTrustStoreGeneratorListener.java

/**
 * Provide spring boot application with a java truststore composed from :
 * <ul>
 * <li>default truststore CA certificates</li>
 * <li>additional CA certificates extracted from <i>KEYSTORE</i> system property</li>
 * </ul>