List of usage examples for org.springframework.context ApplicationListener interface-usage
From source file org.jasig.springframework.context.BeanThatListens.java
/**
* A stub {@link ApplicationListener}.
*
* @author Thomas Risberg
* @author Juergen Hoeller
*/
From source file com.launchkey.example.springmvc.EventHandler.SessionFixationPreventionEventHandler.java
@Component public class SessionFixationPreventionEventHandler implements ApplicationListener<SessionFixationProtectionEvent> { private final AuthManager authManager; @Autowired public SessionFixationPreventionEventHandler(AuthManager authManager) {
From source file jp.pigumer.web.SubscribeListener.java
@Component public class SubscribeListener implements ApplicationListener<SessionSubscribeEvent> { private static final Logger LOGGER = Logger.getLogger(SubscribeListener.class.getName()); @Override
From source file com.fasheng.queue.receiver.AbstractMQReceiverStarter.java
/** * @author von gosling 2012-1-9 05:14:19 */ public abstract class AbstractMQReceiverStarter implements ApplicationListener<ApplicationEvent>, ApplicationContextAware { private String desiredEventClassName;
From source file de.codecentric.boot.admin.zuul.ApplicationRouteRefreshListener.java
/** * Listener to trigger recomputation of the applications' routes. * @author Johannes Stelzer * */ public class ApplicationRouteRefreshListener implements ApplicationListener<ClientApplicationEvent> {
From source file br.com.valecard.listeners.SendMailListener.java
/** * * @author Marcos O. Junqueira <marcos.junqueira at gmail.com> */ @Component public class SendMailListener implements ApplicationListener<SendMailEvent> {
From source file org.vaadin.spring.events.support.ApplicationContextEventBroker.java
/** * An {@link org.springframework.context.ApplicationListener} that will forward all received events to an {@link org.vaadin.spring.events.EventBus}. * * @author Petter Holmstrm (petter@vaadin.com) */ public class ApplicationContextEventBroker implements ApplicationListener<ApplicationEvent> {
From source file org.synchronoss.cloud.nio.multipart.example.utils.Bootstrap.java
/**
* <p> Bootstrap
*
* @author Silvano Riz.
*/
@Component
From source file org.openmrs.module.casereport.FhirDocumentGeneratorListener.java
/** * And instance of this class generates a FHIR document containing details in the specified case * report form and writes the to a file in the casereport directory in the application data * directory. */ //@Component(FhirDocumentGeneratorListener.BEAN_ID)
From source file nl.enovation.addressbook.cqrs.webui.init.RunDBInitializerWhenNeeded.java
/**
* <p>
* Special class used to initialize the database when starting the container. The database is only initialized when the collection "UserEntry" is not yet available.
* </p>
* <p>
* We need to check for the display name of the application context since we by default have two using spring-mvc the way we do.