List of usage examples for org.springframework.context.event SmartApplicationListener interface-usage
From source file com.ling.spring.event.LisiListener.java
@Component public class LisiListener implements SmartApplicationListener { @Override public void onApplicationEvent(ApplicationEvent event) { System.out.println("?" + event.getSource());
From source file com.ling.spring.event.WangwuListener.java
@Component public class WangwuListener implements SmartApplicationListener { @Override public void onApplicationEvent(ApplicationEvent event) { System.out.println("" + event.getSource());
From source file com.herion.hello.SunliuListener.java
/**
* <p>User: herion
* <p>Date: 13-7-8 ?9:14
* <p>Version: 1.0
*/
@Component
From source file com.herion.hello.WangwuListener.java
/**
* <p>User: herion
* <p>Date: 13-7-8 ?9:14
* <p>Version: 1.0
*/
@Component
From source file com.sishuok.hello.SunliuListener.java
/**
* <p>User: Zhang Kaitao
* <p>Date: 13-7-8 9:14
* <p>Version: 1.0
*/
@Component
From source file com.sishuok.hello.WangwuListener.java
/**
* <p>User: Zhang Kaitao
* <p>Date: 13-7-8 9:14
* <p>Version: 1.0
*/
@Component
From source file org.grails.datastore.mapping.engine.event.PersistenceEventListener.java
/** * @author Burt Beckwith */ public interface PersistenceEventListener extends SmartApplicationListener { int DEFAULT_ORDER = Integer.MAX_VALUE / 2; }
From source file org.springframework.boot.context.listener.ClasspathLoggingApplicationListener.java
/**
* A {@link SmartApplicationListener} that reacts to {@link SpringApplicationStartEvent
* start events} by logging the classpath of the thread context class loader (TCCL) at
* {@code DEBUG} level and to {@link SpringApplicationErrorEvent error events} by logging
* the TCCL's classpath at {@code INFO} level.
*
From source file at.ac.univie.isc.asio.spring.JerseyLogInitializer.java
/** * Override the java.util.logging default config to enable debug logging in Jersey. */ public final class JerseyLogInitializer implements SmartApplicationListener { private static final int ORDER = Ordered.HIGHEST_PRECEDENCE + 12; // spring boot logging listener is <+ 11>
From source file org.springframework.boot.context.listener.LoggingApplicationListener.java
/**
* An {@link ApplicationListener} that configures a logging framework depending on what it
* finds on the classpath and in the {@link Environment}. If the environment contains a
* property <code>logging.config</code> then that will be used to initialize the logging
* system, otherwise a default location is used. The classpath is probed for log4j and
* logback and if those are present they will be reconfigured, otherwise vanilla