Example usage for com.google.common.reflect AbstractInvocationHandler subclass-usage

List of usage examples for com.google.common.reflect AbstractInvocationHandler subclass-usage

Introduction

In this page you can find the example usage for com.google.common.reflect AbstractInvocationHandler subclass-usage.

Usage

From source file org.zalando.baigan.proxy.handler.ConfigurationMethodInvocationHandler.java

/**
 * @author mchand
 */

public abstract class ConfigurationMethodInvocationHandler extends AbstractInvocationHandler {
}

From source file com.palantir.common.proxy.AsyncProxy.java

public class AsyncProxy<T> extends AbstractInvocationHandler {

    private final Future<T> futureResult;

    private AsyncProxy(Future<T> futureResult) {
        this.futureResult = futureResult;

From source file com.newlandframework.rpc.netty.MessageSendProxy.java

/**
 * @author tangjie<https://github.com/tang-jie>
 * @filename:MessageSendProxy.java
 * @description:MessageSendProxy?
 * @blogs http://www.cnblogs.com/jietang/
 * @since 2016/10/7

From source file org.fcrepo.kernel.modeshape.TxAwareSession.java

/**
 * A dynamic proxy that wraps JCR sessions. It is aware of fcrepo transactions,
 * and turns mutating methods (e.g. logout, session) into no-ops. Those no-op'ed
 * methods should be called from the Transaction level instead.
 *
 * @author awoods

From source file com.palantir.atlasdb.AtlasDbAutoCommitProxy.java

/**
 * Proxy which automatically wraps all calls to target interface in
 * transactions.
 */
public class AtlasDbAutoCommitProxy<T> extends AbstractInvocationHandler {
    @SuppressWarnings("unchecked")

From source file de.uniulm.omi.cloudiator.sword.drivers.openstack4j.internal.LazyAuthenticationOSClient.java

/**
 * Created by daniel on 02.12.16.
 */
public class LazyAuthenticationOSClient extends AbstractInvocationHandler {

    private static ThreadLocal<OSClient> delegate = new ThreadLocal<>();

From source file com.palantir.common.proxy.MultiDelegateProxy.java

/**
 * This class will delegate functionality and return the value (or throw the exception) of
 * one of the delegates.
 * <p>
 * It will simply call the other delegates and ignore their return values and log any exceptions
 * that are thrown at the error level.  These are logged as errors because these classes shoudln't be throwing.

From source file org.codeseed.common.config.ConfigurationHandler.java

/**
 * Handles the invocation of configuration methods.
 *
 * @author Jeremy Gustie
 */
class ConfigurationHandler extends AbstractInvocationHandler {

From source file org.fenixedu.commons.configuration.ConfigurationInvocationHandler.java

public class ConfigurationInvocationHandler extends AbstractInvocationHandler {
    private static final Logger logger = LoggerFactory.getLogger(ConfigurationInvocationHandler.class);

    public static final String NULL_DEFAULT = "AbQAGOvdWgQgHLOH5hSk";

    protected static final Properties properties = new Properties();

From source file com.palantir.atlasdb.keyvalue.remoting.proxy.FillInUrlProxy.java

/**
 * This is to inject remote partition map service URI to a VersionTooOldException. New partition map
 * can be downloaded from that service.
 *
 * It is meant to be used by <code>KeyValueEndpoint</code>, because it has both KeyValueService reference
 * and the URI of the corresponding PartitionMapService.