org.infinispan.remoting
Class InboundInvocationHandlerImpl

java.lang.Object
  extended by org.infinispan.remoting.InboundInvocationHandlerImpl
All Implemented Interfaces:
InboundInvocationHandler

public class InboundInvocationHandlerImpl
extends Object
implements InboundInvocationHandler

Sets the cache interceptor chain on an RPCCommand before calling it to perform

Since:
4.0
Author:
Manik Surtani

Constructor Summary
InboundInvocationHandlerImpl()
           
 
Method Summary
 Response handle(CacheRpcCommand cmd, Address origin)
          Invokes a command on the cache, from a remote source.
 void inject(GlobalComponentRegistry gcr, EmbeddedCacheManager embeddedCacheManager, Transport transport, GlobalConfiguration globalConfiguration, CacheViewsManager cacheViewsManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InboundInvocationHandlerImpl

public InboundInvocationHandlerImpl()
Method Detail

inject

public void inject(GlobalComponentRegistry gcr,
                   EmbeddedCacheManager embeddedCacheManager,
                   Transport transport,
                   GlobalConfiguration globalConfiguration,
                   CacheViewsManager cacheViewsManager)

handle

public Response handle(CacheRpcCommand cmd,
                       Address origin)
                throws Throwable
Description copied from interface: InboundInvocationHandler
Invokes a command on the cache, from a remote source.

Specified by:
handle in interface InboundInvocationHandler
Parameters:
cmd - command to invoke
Returns:
results, if any, from the invocation
Throws:
Throwable - in the event of problems executing the command

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.