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 com.caucho.hessian.client.HessianProxy.java

/**
 * Proxy implementation for Hessian clients. Applications will generally use
 * HessianProxyFactory to create proxy clients.
 */
public class HessianProxy implements InvocationHandler, Serializable {
    private static final Logger log = Logger.getLogger(HessianProxy.class.getName());

From source file apple.dts.samplecode.osxadapter.OSXAdapter.java

public class OSXAdapter implements InvocationHandler {

    protected Object targetObject;
    protected Method targetMethod;
    protected String proxySignature;

From source file no.sesat.search.datamodel.BeanDataObjectInvocationHandler.java

/**
 *
 *
 * @version <tt>$Id$</tt>
 */
class BeanDataObjectInvocationHandler<T> implements InvocationHandler, Serializable {

From source file test.MockResultSet.java

/**
 * MockResultSet dynamically implements the ResultSet interface.
 * 
 * @author David Graham
 * 
 *         this is a extended Version @author Thomas Nill

From source file com.wills.clientproxy.HessianLBProxy.java

/**
 * HessianProxy,???
 * @author huangsiping
 *
 */
public class HessianLBProxy implements InvocationHandler, Serializable {

From source file MBeanTyper.java

/**
 * MBeanTyperInvoker handles method invocations against the MBeanTyper target
 * object and forwards them to the MBeanServer and ObjectName for invocation.
 * 
 * @author <a href="mailto:jhaynie@vocalocity.net">Jeff Haynie</a>
 */

From source file org.paxle.core.impl.Activator.java

public class Activator implements BundleActivator, InvocationHandler {

    /**
     * A class to manage {@link IFilter filters}
     */
    private FilterManager filterManager = null;

From source file org.diorite.config.impl.proxy.ConfigInvocationHandler.java

public final class ConfigInvocationHandler implements InvocationHandler {
    final ConfigTemplate<?> template;

    final Map<Method, Function<Object[], Object>> basicMethods = new ConcurrentHashMap<>(20);
    final Map<String, ConfigPropertyValueImpl<Object>> predefinedValues = new LinkedHashMap<>(20);
    final Map<String, SimpleConfig> dynamicValues = Collections.synchronizedMap(new LinkedHashMap<>(10));

From source file org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.java

/**
 * ProxyHandler is the java.lang.reflect.InvocationHandler implementation. When a JAX-WS client
 * calls the method on a proxy object, created by calling the ServiceDelegate.getPort(...) method,
 * the inovke method on the ProxyHandler is called.
 * <p/>
 * ProxyHandler uses EndpointInterfaceDescriptor and finds out if 1) The client call is Document

From source file DemoCountingProxy.java

/**
 * An invocation handler that counts the number of calls for all methods in the
 * target class.
 * 
 * @author <a href=mailto:kraythe@arcor.de>Robert Simmons jr. (kraythe)</a>
 * @version $Revision: 1.2 $