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.weibo.api.motan.config.springsupport.ServiceConfigBean.java

public class ServiceConfigBean<T> extends ServiceConfig<T> implements BeanPostProcessor, BeanFactoryAware,
        InitializingBean, DisposableBean, ApplicationListener<ContextRefreshedEvent> {

    private static final long serialVersionUID = -7247592395983804440L;

    private transient BeanFactory beanFactory;

From source file com.yqboots.dict.context.DataDictImportListener.java

/**
 * A listener, which importing data dictionaries from XML after the application context refreshed.
 *
 * @author Eric H B Zhan
 * @see com.yqboots.dict.core.DataDict
 * @since 1.0.0

From source file com.yqboots.menu.context.MenuItemImportListener.java

/**
 * A listener, which importing menu items from XML after the application context refreshed.
 *
 * @author Eric H B Zhan
 * @see com.yqboots.menu.core.MenuItem
 * @since 1.0.0

From source file com.zhaimi.message.client.DefaultConsumerLauncher.java

/**
 * @author kk
 * @since 1.0
 */
public class DefaultConsumerLauncher
        implements ConsumerLauncher, InitializingBean, ApplicationListener<ContextRefreshedEvent> {

From source file de.hybris.platform.addonsupport.config.SpelBeanFactory.java

public class SpelBeanFactory
        implements ApplicationListener<ContextRefreshedEvent>, ApplicationContextAware, BeanFactoryAware {

    private static final Logger LOG = Logger.getLogger(SpelBeanFactory.class);

    private ConfigurableListableBeanFactory beanFactory;

From source file de.hybris.platform.ycommercewebservices.security.AuthenticationFailureListener.java

public class AuthenticationFailureListener
        implements ApplicationListener<AuthenticationFailureBadCredentialsEvent> {
    private static final Logger LOG = Logger.getLogger(AuthenticationFailureListener.class);

    private BruteForceAttackCounter bruteForceAttackCounter;
    private ModelService modelService;

From source file de.juwimm.cms.beans.foreign.security.ConQuestDaoAuthenticationProvider.java

/**
 *
 * @author Ray Krueger
 * @version $Id$
 */
public class ConQuestDaoAuthenticationProvider implements AuthenticationProvider, ApplicationEventPublisherAware,

From source file dstrelec.nats.config.NatsListenerEndpointRegistry.java

/**
 * Creates the necessary {@link NatsListenerContainer} instances for the
 * registered {@linkplain NatsListenerEndpoint endpoints}. Also manages the
 * lifecycle of the listener containers, in particular within the lifecycle
 * of the application context.
 *

From source file edu.uiowa.icts.authentication.SwitchUserListener.java

@Service
public class SwitchUserListener implements ApplicationListener<AuthenticationSwitchUserEvent> {

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

    @Override

From source file edu.washington.shibboleth.attribute.resolver.provider.dataConnector.RwsDataConnector.java

/**
 * <code>RwsDataConnector</code> provides a plugin to retrieve attributes from a restful webservice.
 */
public class RwsDataConnector extends BaseDataConnector implements ApplicationListener {

    /** Authentication type values. */