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.ephesoft.dcma.workflows.service.JobExecutorInitializer.java

/**
 * This class represents a listener to the start/refresh of the server.
 * 
 * @author Ephesoft
 * 
 *         <b>created on</b> 27-Nov-2014 <br/>

From source file com.scottieknows.test.autoconfigure.PostgresAutoConfiguration.java

@Configuration
@EnableConfigurationProperties(PostgresConfigurationProperties.class)
@PropertySource(value = "${user.home}/.pgtest/devbuild.properties", ignoreResourceNotFound = true)
public class PostgresAutoConfiguration implements ApplicationListener<ApplicationEvent> {

    private final Log log = LogFactory.getLog(PostgresAutoConfiguration.class);

From source file com.brienwheeler.apps.main.ContextMain.java

/**
 * A class to process properties files and launch application contexts based upon command line
 * arguments and a resource mapping file (by default located at classpath:resourceMap.xml).  Intended
 * to be used as the MainClass of an executable JAR that includes a resource map, one or more
 * application contexts, and all classes to support launch of those contexts.
 * 

From source file com.example.app.communication.service.NotificationService.java

/**
 * Service for sending notifications.
 *
 * @author Russ Tennant (russ@i2rd.com)
 */
@SuppressWarnings("unused")

From source file io.neba.core.mvc.MvcContext.java

/**
 * <p>
 * Configures a bundle-specific {@link ApplicationContext} with the Spring MVC infrastructure beans usually
 * provided to {@link org.springframework.web.context.WebApplicationContext web application contexts} by the
 * {@link DispatcherServlet}. Subsequently
 * {@link DispatcherServlet#initStrategies(org.springframework.context.ApplicationContext) initializes}

From source file com.avanza.astrix.spring.AstrixFrameworkBean.java

/**
 * 
 * @author Elias Lindholm (elilin)
 */
public class AstrixFrameworkBean implements BeanFactoryPostProcessor, ApplicationContextAware,
        ApplicationListener<ApplicationContextEvent>, Ordered {

From source file com.zz.cluster4spring.support.provider.AbstractDiscoveringEndpointProvider.java

/**
 * Base abstract class for implementation of <code>EndpointProvider</code> that
 * automatically discovers services based on service name and service group.
 * Such auto-discoverable services are published via appropriate
 * <code>ServicePublisher</code>. Class contains all basic logic related to
 * discovering, but does not include any references to underlying services

From source file org.unitedid.shibboleth.attribute.resolver.provider.dataConnector.MongoDbDataConnector.java

/**
 * <code>MongoDbDataConnector</code> provides a plugin to fetch attributes from a mongo database.
 *
 * @author Stefan Wold <stefan.wold@unitedid.org>
 */
public class MongoDbDataConnector extends BaseDataConnector implements ApplicationListener {

From source file org.openbaton.autoscaling.Application.java

/**
 * Created by mpa on 27.10.15.
 */
@SpringBootApplication
@ComponentScan({ "org.openbaton.autoscaling.api", "org.openbaton.autoscaling", "org.openbaton" })
@ContextConfiguration(loader = AnnotationConfigContextLoader.class, classes = { ASBeanConfiguration.class,

From source file fr.free.hd.servers.gui.FaceView.java

/**
 * Shows the owners and their pets in a tree structure.
 * 
 * Several dialogs are used to show detail information or messages. Notice that
 * we're explicitly setting {@link CloseAction}s to either dispose or hide the
 * dialog as an example. Check out the default behavior of the dialog type that