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.rhq.plugins.www.snmp.SNMPSessionCache.java

/**
 * SNMPSession interface cache. Cache is per-session instance. Currently supports getColumn, getBulk, and getTable
 * methods only.
 */
class SNMPSessionCache implements InvocationHandler {
    private SNMPSession session;

From source file reconf.client.proxy.ConfigurationRepositoryFactory.java

public class ConfigurationRepositoryFactory implements InvocationHandler {

    private static final MessagesBundle msg = MessagesBundle.getBundle(ConfigurationRepositoryFactory.class);
    private ConfigurationRepositoryUpdater updater;
    private static ConfigurationRepositoryElementFactory factory;
    private static final ReentrantLock lock = new ReentrantLock();

From source file org.springframework.boot.test.context.assertj.AssertProviderApplicationContextInvocationHandler.java

/**
 * {@link InvocationHandler} used by {@link ApplicationContextAssertProvider} generated
 * proxies.
 *
 * @author Phillip Webb
 */

From source file org.apache.hadoop.hbase.ipc.MasterExecRPCInvoker.java

/**
 * Backs a {@link org.apache.hadoop.hbase.ipc.CoprocessorProtocol} subclass proxy and forwards method
 * invocations for server execution.  Note that internally this will issue a
 * separate RPC call for each method invocation.
 */
public class MasterExecRPCInvoker implements InvocationHandler {

From source file org.springframework.aop.framework.OptimizedJdkDynamicAopProxy.java

/**
 * InvocationHandler implementation for the Spring AOP framework,
 * based on J2SE 1.3+ dynamic proxies.
 *
 * <p>Creates a J2SE proxy, implementing the interfaces exposed by the
 * proxy. Dynamic proxies cannot be used to proxy methods defined in

From source file org.pentaho.di.ui.core.dialog.DisplayInvocationHandler.java

public class DisplayInvocationHandler<T> implements InvocationHandler {
    private final Display display;
    private final T delegate;
    private final LogChannelInterface log;
    private final boolean asyncForVoid;

From source file org.apache.hadoop.hbase.ipc.ExecRPCInvoker.java

/**
 * Backs a {@link CoprocessorProtocol} subclass proxy and forwards method
 * invocations for server execution.  Note that internally this will issue a
 * separate RPC call for each method invocation (using a
 * {@link org.apache.hadoop.hbase.client.ServerCallable} instance).
 */

From source file com.laxser.blitz.lama.core.LamaDaoInvocationHandler.java

/**
 * 
 * @author laxser  Date 2012-3-22 ?3:43:19
@contact [duqifan@gmail.com]
@LamaDaoInvocationHandler.java
    

From source file org.apache.ode.utils.LoggingInterceptor.java

public class LoggingInterceptor<T> implements InvocationHandler {

    private static final Set<String> PARAMSTYPES = new HashSet<String>();
    static {
        PARAMSTYPES.add("setArray");
        PARAMSTYPES.add("setBigDecimal");

From source file org.resthub.rpc.AMQPProxy.java

/**
 * Proxy implementation for Hessian clients. Applications will generally
 * use {@link AMQPProxyFactory} to create proxy clients.
 *
 * @author Emmanuel Bourg
 * @author Scott Ferguson