Example usage for java.lang.reflect InvocationHandler interface-usage

List of usage examples for java.lang.reflect InvocationHandler interface-usage

Introduction

In this page you can find the example usage for java.lang.reflect InvocationHandler interface-usage.

Usage

From source file org.blocks4j.feature.toggle.proxy.Feature.java

public class Feature<T> implements InvocationHandler {

    private ParametersToggleHandler paramters;
    private FeatureToggleConfiguration config;
    private Class<? super T> commonInterface;
    private String featureName;

From source file com.github.parisoft.resty.response.ResponseInvocationHandler.java

public class ResponseInvocationHandler implements InvocationHandler {

    private final HttpResponse httpResponse;
    private final EntityReader entityReader;
    private final HttpResponseExtension responseExtension;

From source file org.broadleafcommerce.core.extension.ExtensionManager.java

/**
 * The ExtensionManager pattern is intended for out of box components to be extended by Broadleaf modules.
 * 
 * Each component that needs an extension should define an interface which is a descendant of ExtensionHandler.
 * The concrete ExtensionManager class will utilize that interface as a parameter (e.g. T below).   
 * 

From source file org.sonar.core.persistence.profiling.ProfilingStatementHandler.java

class ProfilingStatementHandler implements InvocationHandler {

    private final Statement statement;

    ProfilingStatementHandler(Statement statement) {
        this.statement = statement;

From source file com.espertech.esper.view.ViewProxy.java

public class ViewProxy implements java.lang.reflect.InvocationHandler {

    private static Method target = JavaClassHelper.getMethodByName(View.class, "update");

    private final String engineURI;
    private final String statementName;

From source file org.kuali.rice.ksb.messaging.KSBClientProxy.java

/**
 * This class creates a proxy for services deployed on KSB. A 
 * reference to the service is obtained only upon the first method
 * invocation.
 * 
 * @author Kuali Rice Team (rice.collab@kuali.org)

From source file net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy.java

/**
 * A dynamic proxy which provides CacheException handling.
 * <p/>
 * The ehcache configuration will create and register in the <code>CacheManager</code> {@link Ehcache}s decorated
 * with this dynamic proxy. See following for programmatic use.
 * <p/>

From source file org.sonar.db.profiling.ProfilingPreparedStatementHandler.java

class ProfilingPreparedStatementHandler implements InvocationHandler {

    private final PreparedStatement statement;
    private final List<Object> arguments;
    private final String sql;

From source file org.jboss.seam.spring.utils.AnnotationInvocationHandler.java

/**
 * {@link InvocationHandler} implementation for dynamically instantiating annotations
 *
 * @author: Marius Bogoevici
 */
public class AnnotationInvocationHandler implements InvocationHandler, Annotation {

From source file com.perfect.autosdk.core.JsonProxy.java

/**
 * @author @author@ (@author-email@)
 * @version @version@, $Date: 2011-5-10$
 */
public class JsonProxy<I> implements InvocationHandler {
    protected static final Log log = LogFactory.getLog(JsonProxy.class);