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.espertech.esper.schedule.ScheduleHandleCallbackProxy.java

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

    private static Method target = JavaClassHelper.getMethodByName(ScheduleHandleCallback.class,
            "scheduledTrigger");

    private final String engineURI;

From source file ca.uhn.fhir.rest.client.ClientInvocationHandler.java

class ClientInvocationHandler extends BaseClient implements InvocationHandler {

    private final Map<Method, BaseMethodBinding<?>> myBindings;
    private final Map<Method, Object> myMethodToReturnValue;
    private FhirContext myContext;
    private Map<Method, ILambda> myMethodToLambda;

From source file org.bytesoft.openjtcc.supports.dubbo.internal.RemoteInvocationEndpointSelector.java

public class RemoteInvocationEndpointSelector implements InvocationHandler {
    public static final String DEFAULT_REMOTE_SERVICE_NAME = "remote-service";
    private ApplicationContext applicationContext;
    private TerminalKey terminalKey;

    @Override

From source file org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.java

/**
 * <p>
 * Protects a <code>{@link java.sql.Connection}</code>'s attributes from being permanently modfied.
 * </p>
 * 
 * <p>

From source file com.hubspot.utils.circuitbreaker.CircuitBreakerInvocationHandler.java

/**
 * Invocation handler that transparently wraps an object and will trip a method "circuit breaker" should
 * an exception be thrown that exceeds the defined policy for that method.
 *
 */
public class CircuitBreakerInvocationHandler extends HubSpotObject implements InvocationHandler {

From source file MethodCountingHandler.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 $

From source file org.fcrepo.kernel.impl.LockReleasingSession.java

/**
 * Wraps a session to ensure that all lock tokens are removed from the session
 * when logout() is invoked.
 *
 * The JCR spec isn't clear about what should happen when a session ends that
 * is the owner of open-scoped lock tokens.  The current ModeShape implementation

From source file MethodCountingHandler.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 $

From source file org.nuxeo.ecm.directory.ldap.LdapRetryHandler.java

/**
 * Wrapper to encapsulate the calls to LDAP and retry the requests in case of ServiceUnavailableException errors
 *
 * @since 5.7
 * @author Thierry Martins <tm@nuxeo.com>
 */

From source file MethodCountingHandler.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 $