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.gs.jrpip.client.FastServletProxyInvocationHandler.java

public class FastServletProxyInvocationHandler implements InvocationHandler {
    private static final Logger LOGGER = LoggerFactory.getLogger(FastServletProxyInvocationHandler.class);

    private static final int SEND_PARAMETERS_STATE = 0;
    private static final int RECEIVE_RESULT_STATE = 1;

From source file org.blocks4j.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.apache.hadoop.hive.metastore.RetryingMetaStoreClient.java

/**
 * RetryingMetaStoreClient. Creates a proxy for a IMetaStoreClient
 * implementation and retries calls to it on failure.
 * If the login user is authenticated using keytab, it relogins user before
 * each call.
 *

From source file be.fgov.kszbcss.rhq.websphere.config.ConfigObjectInvocationHandler.java

/**
 * Invocation handler for {@link ConfigObject} proxies. This class is designed to be thread safe
 * because {@link CellConfiguration} caches {@link ConfigObject} instances and they may therefore be
 * accessed concurrently.
 */
final class ConfigObjectInvocationHandler implements InvocationHandler, ConfigObject {

From source file org.jabsorb.ng.client.Client.java

/**
 * A factory to create proxies for access to remote Jabsorb services.
 */
public class Client implements InvocationHandler {

    /** The logger for this class */

From source file com.nominanuda.hyperapi.HyperApiHttpInvocationHandler.java

public class HyperApiHttpInvocationHandler implements InvocationHandler {
    private EntityCodec entityCodec = EntityCodec.createBasic();
    private Class<?> hyperApi;
    private HttpClient client;
    private String uriPrefix;

From source file com.gzj.tulip.jade.context.JadeInvocationHandler.java

/**
 * DAO??DAO?
 * 
 * @author  [qieqie.wang@gmail.com]
 * 
 */

From source file com.socialize.SocializeActionProxy.java

/**
 * Proxies all requests to top level Socialize interfaces to ensure that clients are both initialized and authenticated.
 * @author Jason Polites
 */
public class SocializeActionProxy implements InvocationHandler {

From source file com.enioka.jqm.tools.JobManagerHandler.java

/**
 * This is the implementation behind the proxy described in the <code>JobManager</code> interface inside the jqm-api artifact.
 */
class JobManagerHandler implements InvocationHandler {
    private static Logger jqmlogger = Logger.getLogger(JobManagerHandler.class);

From source file net.paoding.rose.jade.context.JadeInvocationHandler.java

    private static final Log logger = LogFactory.getLog(JadeInvocationHandler.class);

    private final ConcurrentHashMap<Method, Statement> statements = new ConcurrentHashMap<Method, Statement>();

    private final DAOMetaData daoMetaData;