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.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.java

/**
 * Wrapper around a CoreSession that gives it transactional behavior.
 * <p>
 * Transactional behavior:
 * <ul>
 * <li>notifies the event service on transaction start/stop</li>

From source file org.vintsie.jcobweb.invoke.ProxyInvocationHandler.java

/**
 * Created with IntelliJ IDEA.
 * User: dev001
 * Date: 12/23/13
 * Time: 5:20 PM
 */

From source file com.espertech.esper.epl.expression.ExprEvaluatorProxy.java

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

    private static final Log auditLog = LogFactory.getLog(AuditPath.AUDIT_LOG);
    private static Method targetEvaluate = JavaClassHelper.getMethodByName(ExprEvaluator.class, "evaluate");
    private static Method targetEvaluateCollEvents = JavaClassHelper.getMethodByName(ExprEvaluatorEnumeration.class,
            "evaluateGetROCollectionEvents");

From source file com.parleys.io.amf.client.AMFClientProxy.java

/**
 * AMF client service class from <a
 * href="http://bugs.adobe.com/jira/browse/BLZ-246">here</a>.
 *
 * @author <a href="mailto:rflament@laposte.net">Rmi Flament</a>
 */

From source file com.healthmarketscience.rmiio.RemoteWrapper.java

/**
 * Base class for implementing remote stub wrappers with builtin retry
 * policies. Providers of remote interfaces can generate simple wrappers for
 * use by a remote client which handle the retry functionality under the hood,
 * simplifying client code dramatically. Note that this should only be done
 * for <b>idempotent</b> method calls. See {@link RemoteInputStreamWrapper} and {@link RemoteOutputStreamWrapper} for example usage.

From source file org.code_house.service.jolokia.Jolokia.java

public class Jolokia implements InvocationHandler {

    private final J4pClient connection;
    private final ObjectName objectName;

    public Jolokia(J4pClient connection, ObjectName objectName) {

From source file org.apache.hadoop.hbase.thrift.HbaseHandlerMetricsProxy.java

/**
 * Converts a Hbase.Iface using InvocationHandler so that it reports process
 * time of each call to ThriftMetrics.
 */
@InterfaceAudience.Private
public class HbaseHandlerMetricsProxy implements InvocationHandler {

From source file org.polymap.core.operation.OperationExecutor.java

/**
 * Implements chained execution of an operation and its concerns as provided by
 * {@link IOperationConcernFactory}.
 * 
 * @author <a href="http://www.polymap.de">Falko Brutigam</a>
 * @since 3.1

From source file eu.unicate.retroauth.AuthRestHandler.java

final class AuthRestHandler<T> implements InvocationHandler {

    private final ServiceInfo serviceInfo;
    private final T retrofitService;
    private final AuthInvoker authInvoker;

From source file org.broadleafcommerce.common.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).   
 *