List of usage examples for org.springframework.context ApplicationListener interface-usage
From source file net.cyphoria.cylus.infrastructure.migrations.Neo4JMigrator.java
/** * @author Stefan Pennndorf <stefan@cyphoria.net> */ @Component public class Neo4JMigrator implements ApplicationListener<ContextRefreshedEvent> {
From source file com.vnet.demo.config.ContextLoaderListener.java
@Component public class ContextLoaderListener implements ApplicationListener<ContextRefreshedEvent> { @Autowired NoteMessageListener Listener;
From source file eu.cloud4soa.frontend.commons.server.security.C4sAuthenticationListener.java
/** * A listener for authentication events. * * @author Stefano Travelli (Cyntelix) */ public class C4sAuthenticationListener implements ApplicationListener<AbstractAuthenticationEvent> {
From source file application.ThermoServer.java
/**
* @author Henri Haverinen
* @version 28.2.2016
*
* Main class for thermoServer
*/
From source file rhinova.gui.dataentry.link.LinkDataEntryPanel.java
/** * @author derrick futschik */ @SuppressWarnings("rawtypes") public class LinkDataEntryPanel extends JPanel implements ApplicationListener<ReserveListUpdateEvent> {
From source file grails.plugin.springsecurity.rest.RestSecurityEventListener.java
/**
* Registers as an event listener and delegates handling of security-related events
* to optional closures defined in Config.groovy.
* <p/>
* The following callbacks are supported:<br/>
* <ul>
From source file eu.supersede.fe.security.AuthenticationSuccessListener.java
@Component public class AuthenticationSuccessListener implements ApplicationListener<AuthenticationSuccessEvent> { @Override public void onApplicationEvent(AuthenticationSuccessEvent event) { ServletRequestAttributes attr = (ServletRequestAttributes) RequestContextHolder.currentRequestAttributes(); DatabaseUser userDetails = (DatabaseUser) event.getAuthentication().getPrincipal();
From source file eu.supersede.fe.security.redis.session.SessionDestroyedListenerRedisSession.java
@Component public class SessionDestroyedListenerRedisSession implements ApplicationListener<SessionDestroyedEvent> { @Autowired private SessionRedisTemplate sessionTemplate; private final Logger log = LoggerFactory.getLogger(this.getClass());
From source file org.rotarysource.signals.shutdown.ShutdownEventListener.java
public class ShutdownEventListener implements ApplicationListener<ShutdownEvent> { private static Logger log = LoggerFactory.getLogger(ShutdownEventListener.class); /** * List of SignalCapable Objects to be executed shutdown
From source file no.dusken.aranea.admin.listener.PageChangeSectionListener.java
/** * @author Marvin B. Lillehaug <lillehau@underdusken.no> */ public class PageChangeSectionListener implements ApplicationListener<PreSaveEvent> { @Inject