Example usage for org.springframework.context ApplicationContextAware interface-usage

List of usage examples for org.springframework.context ApplicationContextAware interface-usage

Introduction

In this page you can find the example usage for org.springframework.context ApplicationContextAware interface-usage.

Usage

From source file org.jnap.core.util.BeanLocator.java

/**
 * @author Daniel Rochetti
 * @since 1.0
 */
@Component
public final class BeanLocator implements ApplicationContextAware {

From source file io.gravitee.gateway.platforms.jetty.node.JettyNode.java

/**
 * @author David BRASSELY (brasseld at gmail.com)
 */
public class JettyNode implements Node, ApplicationContextAware {

    /**

From source file cherry.foundation.testtool.invoker.InvokerImpl.java

public class InvokerImpl implements Invoker, ApplicationContextAware {

    private ObjectMapper objectMapper;

    private ApplicationContext appCtx;

From source file org.bpmscript.integration.internal.SpringAddressRegistry.java

/**
 * Treats an application context as an address registry with all the beans registered as {@link IMessageReceiver}'s
 * with their bean names as their addresses.
 */
public class SpringAddressRegistry implements IMutableAddressRegistry, ApplicationContextAware {

From source file org.xaloon.core.jpa.spring.EntityProvidingPUPostProcessor.java

/**
 * Spring entity post processor to add entity classes to persistence unit into
 * 
 * @author vytautas r.
 */
public class EntityProvidingPUPostProcessor implements PersistenceUnitPostProcessor, ApplicationContextAware {

From source file com.saysth.commons.quartz.JobDetailBean.java

/**
 * Convenience subclass of Quartz's {@link org.quartz.JobDetail} class, making
 * bean-style usage easier.
 * 
 * <p>
 * <code>JobDetail</code> itself is already a JavaBean but lacks sensible

From source file org.bytesoft.openjtcc.supports.spring.NativeBeanFactoryImpl.java

public class NativeBeanFactoryImpl implements NativeBeanFactory, ApplicationContextAware {
    private ApplicationContext applicationContext;
    private TransactionManager transactionManager;

    private final AtomicLong atomic = new AtomicLong();

From source file org.brushingbits.jnap.util.BeanLocator.java

/**
 * @author Daniel Rochetti
 * @since 1.0
 */
@Component
public final class BeanLocator implements ApplicationContextAware {

From source file org.codehaus.groovy.grails.plugins.quartz.GrailsJobFactory.java

/**
 * Job factory which retrieves Job instances from ApplicationContext.
 *
 * @author Sergey Nebolsin (nebolsin@gmail.com)
 * 
 * @since 0.3.2

From source file com.farsunset.cim.util.ContextHolder.java

public class ContextHolder implements ApplicationContextAware {

    private static ApplicationContext context;

    public static Object getBean(String name) {
        return context.getBean(name);