Example usage for org.springframework.aop TargetSource interface-usage

List of usage examples for org.springframework.aop TargetSource interface-usage

Introduction

In this page you can find the example usage for org.springframework.aop TargetSource interface-usage.

Usage

From source file com.github.lothar.security.acl.jpa.query.AclPredicateTargetSource.java

public class AclPredicateTargetSource implements TargetSource {

    private Logger logger = LoggerFactory.getLogger(getClass());
    private Predicate original;
    private Predicate current;
    private CriteriaBuilder criteriaBuilder;

From source file org.jdal.aop.DependencyDescriptorTargetSource.java

/** 
 * Target source that use a {@link DependencyDescriptor} to lookup target.
 * 
 * @author Jose Luis Martin.
 * @since 2.0
 */

From source file com.griddynamics.banshun.ExportTargetSource.java

public class ExportTargetSource implements TargetSource {

    private static final Logger log = LoggerFactory.getLogger(ExportTargetSource.class);

    private final AtomicReference<Object> target = new AtomicReference<>();

From source file com.griddynamics.banshun.LookupTargetSource.java

public class LookupTargetSource implements TargetSource {

    private static final Logger log = LoggerFactory.getLogger(LookupTargetSource.class);

    private AtomicReference<Object> target = new AtomicReference<>();

From source file biz.deinum.multitenant.aop.target.ContextSwappableTargetSource.java

/**
 * TargetSource which returns the correct target based on the current context set in the {@link biz.deinum.multitenant.core.ContextHolder}.
 * If no context is found a {@link TargetLookupFailureException} is thrown or the <code>defaultTarget</code> is returned
 * , depending on the setting of the alwaysReturnTarget property (default is false);
 * 
 * By default this class delegates the detection of target to a {@link BeanFactoryTargetRegistry}. 

From source file org.springframework.aop.target.AbstractBeanFactoryBasedTargetSource.java

/**
 * Base class for {@link org.springframework.aop.TargetSource} implementations
 * that are based on a Spring {@link org.springframework.beans.factory.BeanFactory},
 * delegating to Spring-managed bean instances.
 *
 * <p>Subclasses can create prototype instances or lazily access a

From source file org.springframework.aop.target.AbstractLazyCreationTargetSource.java

/**
 * {@link org.springframework.aop.TargetSource} implementation that will
 * lazily create a user-managed object.
 *
 * <p>Creation of the lazy target object is controlled by the user by implementing
 * the {@link #createObject()} method. This {@code TargetSource} will invoke

From source file org.springframework.aop.target.AbstractLazyInitTargetSource.java

/**
 * <code>TargetSource</code> that will lazy initialize a user-managed object.
 * <p/>
 * Creation of the lazy target object is controlled by the user by implementing the
 * {@link #createObject()} method. This <code>TargetSource</code> will invoke this
 * method the first time the proxy is accessed.

From source file org.springframework.aop.target.AbstractPrototypeBasedTargetSource.java

/**
 * Base class for dynamic TargetSources that can create new prototype bean
 * instances to support a pooling or new-instance-per-invocation strategy.
 *
 * <p>Such TargetSources must run in a BeanFactory, as it needs to call the
 * getBean() method to create a new prototype instance.

From source file org.springframework.aop.target.AbstractPrototypeTargetSource.java

/**
 * Base class for dynamic TargetSources that can create new prototype bean
 * instances to support a pooling or new-instance-per-invocation strategy.
 * Such TargetSources must run in a BeanFactory, as it needs to call the
 * getBean() method to create a new prototype instance.
 * @author Rod Johnson