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.polymap.core.runtime.WeakListener.java

/**
 * Provides a weak reference wrapper for a given listener.
 * <p/>
 * A weak listener reference can be used wherever the listener interface is directly
 * implemented by the caller or if the listener is implemented by an inner class and the
 * instance is a member of the caller.

From source file org.molasdin.wbase.transaction.jdbc.JdbcEngine.java

/**
 * Created by dbersenev on 15.10.2014.
 */
public class JdbcEngine implements InvocationHandler, Engine {
    private Connection connection;
    private Connection proxy;

From source file com.payu.ratel.proxy.UnicastingInvocationHandler.java

public class UnicastingInvocationHandler implements InvocationHandler {

    private static final Logger LOGGER = LoggerFactory.getLogger(UnicastingInvocationHandler.class);

    private final FetchStrategy fetchStrategy;
    private final Class<?> serviceApi;

From source file com.sf.ddao.chain.ChainInvocationHandler.java

/**
 * This invocation handler allows to enterpret few annotations attached to method as chain of comamnds to be executed
 * when method is invoked
 * <p/>
 */
public class ChainInvocationHandler implements InvocationHandler {

From source file com.baidu.api.client.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);

From source file com.fuzhepan.arpc.client.ProxyHandler.java

public class ProxyHandler implements InvocationHandler, Serializable {

    private String serviceName;
    private String interfaceName;

    private static AtomicInteger requestCount = new AtomicInteger(0);

From source file com.payu.ratel.proxy.BroadcastingInvocationHandler.java

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

    private static final Logger LOGGER = LoggerFactory.getLogger(BroadcastingInvocationHandler.class);
    private static final Class<EventReceiver> EVENT_RECEIVER_CLASS = EventReceiver.class;

    private final FetchStrategy fetchStrategy;

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

/**
 * @author @author@ (@author-email@)
 * 
 * @version @version@, $Date: 2011-5-10$
 * 
 */

From source file com.baidu.drapi.autosdk.core.JsonProxy.java

/**
 * @author @author@ (@author-email@)
 * 
 * @version @version@, $Date: 2011-5-10$
 * 
 */

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

class ProfilingStatementHandler implements InvocationHandler {

    private final Statement statement;

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