List of usage examples for org.springframework.context ApplicationListener interface-usage
From source file com.hp.autonomy.frontend.logging.ApplicationStartLogger.java
/** * Utility class for logging at Application startup. Creating an instance of this class as a Spring bean will cause * the provided message to be logged at startup. */ @Slf4j public class ApplicationStartLogger implements ApplicationListener<ContextRefreshedEvent> {
From source file com.spring.tutorial.events.beans.ContextListenerBean.java
/** * * @author macbookpro3 */ public class ContextListenerBean implements ApplicationListener<ContextRefreshedEvent> { private final static Log LOGGER = LogFactory.getLog(ContextListenerBean.class);
From source file com.turingoal.cms.core.filter.SystemInitListener.java
/** * ?? */ public class SystemInitListener implements ApplicationListener<ContextRefreshedEvent>, ServletContextAware { private final Logger log = LoggerFactory.getLogger(SystemInitListener.class); private ServletContext application;
From source file gov.uscis.vis.api.config.SwaggerPropertiesLoader.java
/** * Created by cedennis on 2/7/17. */ public class SwaggerPropertiesLoader implements ApplicationListener<ApplicationEnvironmentPreparedEvent> { @Override
From source file cz.fi.muni.pa036.airticketbooking.rest.MyApplicationListener.java
@Component public class MyApplicationListener implements ApplicationListener<AuthenticationFailureBadCredentialsEvent> { private static final Logger LOG = Logger.getLogger(MyApplicationListener.class); @Override public void onApplicationEvent(AuthenticationFailureBadCredentialsEvent event) {
From source file org.jasig.cas.event.EventListener.java
/**
* Implementation of an ApplicationListener that listens specifically for events
* within the CAS domain. Upon receiving an event that it can handle, the
* listener attempts to delegate the event to one or more event handlers to
* process the event (i.e. a Log4JLoggedInEventHandler and a
* DbLoggedInEventHandler).
From source file com.pavikumbhar.javaheart.springconfiguration.ContextRefreshedEventHandler.java
/**
*
* @author pravinkumbhar
*/
@Component
From source file be.krivi.ucll.ip.api.listener.ContextListener.java
public class ContextListener implements ApplicationListener { @Autowired private NetworkService service; @Override
From source file be.krivi.ucll.ip.web.listener.ContextListener.java
public class ContextListener implements ApplicationListener { @Autowired private NetworkService service; @Override
From source file com.gs.config.SessionExpirationFilter.java
/** * * @author SIGSA */ public class SessionExpirationFilter implements ApplicationListener<HttpSessionDestroyedEvent> {