List of usage examples for org.springframework.context ApplicationListener interface-usage
From source file org.owasp.dependencytrack.listener.DefaultObjectGenerator.java
import java.util.List; import java.util.Map; import java.util.concurrent.CountDownLatch; /** * Spring component that initializes all data objects necessary for a new install.
From source file org.opentides.persistence.user.AuthenticationDaoJdbcImpl.java
/**
* This class is responsible in retrieving the user information.
*
* <p>This retrieves the User from the database and then create the {@link UserDetails} object.</p>
*
* <p>
From source file org.jasig.schedassist.impl.events.EmailNotificationApplicationListener.java
/**
* {@link ApplicationListener} implementation that can send an email
* to the event participants for {@link AppointmentCreatedEvent}s and {@link AppointmentCancelledEvent}s.
*
* @author Nicholas Blair, nblair@doit.wisc.edu
* @version $Id: EmailNotificationApplicationListener.java 3070 2011-02-09 13:53:34Z npblair $
From source file fr.treeptik.cloudunit.monitor.Watchdog.java
/** * Created by nicolas on 27/11/2015. */ @Component public class Watchdog implements ApplicationListener<ContextRefreshedEvent> {
From source file org.cloudfoundry.identity.uaa.scim.bootstrap.ScimUserBootstrap.java
import org.cloudfoundry.identity.uaa.scim.exception.MemberAlreadyExistsException; import org.cloudfoundry.identity.uaa.scim.exception.MemberNotFoundException; import org.cloudfoundry.identity.uaa.scim.exception.ScimResourceNotFoundException; import org.cloudfoundry.identity.uaa.user.UaaUser; import org.cloudfoundry.identity.uaa.zone.IdentityZoneHolder; import org.springframework.beans.factory.InitializingBean;
From source file org.geoserver.wps.executor.DefaultProcessManager.java
public class DefaultProcessManager implements ProcessManager, ExtensionPriority, ApplicationListener<ApplicationEvent> { ConcurrentHashMap<String, ExecutionStatusEx> executions = new ConcurrentHashMap<String, DefaultProcessManager.ExecutionStatusEx>(); ThreadPoolExecutor synchService;
From source file org.sakaiproject.entitybroker.util.spring.BeanCollectorAutoRegistrar.java
/** * This will collect the autoregistered beans and place them into all the locations which requested them * * @author Aaron Zeckoski (aaron@caret.cam.ac.uk) */ public class BeanCollectorAutoRegistrar implements ApplicationListener, ApplicationContextAware, InitializingBean {
From source file org.bigtester.ate.model.asserter.AbstractExpectedResultAsserter.java
/**
* This class AbstractExpectedResultAsserter defines ....
*
* @author Peidong Hu
*
*/
From source file com.griddynamics.banshun.ContextParentBean.java
public class ContextParentBean implements Registry, InitializingBean, DisposableBean, ApplicationContextAware, ApplicationListener<ApplicationEvent> { private static final Logger log = LoggerFactory.getLogger(ContextParentBean.class); private Map<String, Exception> nestedContextsExceptions = new LinkedHashMap<>();
From source file org.openwms.core.configuration.file.XMLPreferenceDaoImpl.java
/**
* A XMLPreferenceDaoImpl reads a XML file of preferences and keeps them internally in a Map. An initial preferences file can be configured
* with a property <i>openwms.core.config.initial-properties</i> in the application.properties file. <p> On a {@link
* ReloadFilePreferencesEvent} the internal Map is cleared and reloaded. </p>
*
* @author <a href="mailto:scherrer@openwms.org">Heiko Scherrer</a>