org.jboss.ejb3.proxy.clustered.invocation
Class InvokableContextClusteredProxyInvocationHandler

java.lang.Object
  extended by org.jboss.aspects.remoting.PojiProxy
      extended by org.jboss.ejb3.proxy.impl.invocation.InvokableContextStatefulRemoteProxyInvocationHack
          extended by org.jboss.ejb3.proxy.clustered.invocation.InvokableContextClusteredProxyInvocationHandler
All Implemented Interfaces:
Serializable, InvocationHandler

public class InvokableContextClusteredProxyInvocationHandler
extends org.jboss.ejb3.proxy.impl.invocation.InvokableContextStatefulRemoteProxyInvocationHack

Extends the superclass to add additional clustering metadata to each invocation.

Author:
Brian Stansberry
See Also:
Serialized Form

Constructor Summary
InvokableContextClusteredProxyInvocationHandler(Object oid, String containerGuid, org.jboss.remoting.InvokerLocator uri, org.jboss.aop.advice.Interceptor[] interceptors, Serializable sessionId, org.jboss.aspects.remoting.FamilyWrapper family, org.jboss.ha.client.loadbalance.LoadBalancePolicy lb, String partitionName, boolean usePreferredTarget)
          Create a new InvokableContextClusteredRemoteProxy.
 
Method Summary
protected  void addMetadataToInvocation(org.jboss.aop.joinpoint.MethodInvocation methodInvocation)
          Overrides the superclass to add
 
Methods inherited from class org.jboss.ejb3.proxy.impl.invocation.InvokableContextStatefulRemoteProxyInvocationHack
addArgumentsToInvocation, constructMethodInvocation, getContainerGuid, getTarget
 
Methods inherited from class org.jboss.aspects.remoting.PojiProxy
getInterceptors, getOid, getUri, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokableContextClusteredProxyInvocationHandler

public InvokableContextClusteredProxyInvocationHandler(Object oid,
                                                       String containerGuid,
                                                       org.jboss.remoting.InvokerLocator uri,
                                                       org.jboss.aop.advice.Interceptor[] interceptors,
                                                       Serializable sessionId,
                                                       org.jboss.aspects.remoting.FamilyWrapper family,
                                                       org.jboss.ha.client.loadbalance.LoadBalancePolicy lb,
                                                       String partitionName,
                                                       boolean usePreferredTarget)
Create a new InvokableContextClusteredRemoteProxy.

Parameters:
family - clustering target information. Cannot be null.
lb - LoadBalancePolicy implementation. Cannot be null.
partitionName - name of the cluster partition. Cannot be null.
usePreferredTarget - should uri be added to the metadata under key ClusterConstants.HA_TARGET? Should be true for SFSB proxies.
Method Detail

addMetadataToInvocation

protected void addMetadataToInvocation(org.jboss.aop.joinpoint.MethodInvocation methodInvocation)
Overrides the superclass to add

Overrides:
addMetadataToInvocation in class org.jboss.ejb3.proxy.impl.invocation.InvokableContextStatefulRemoteProxyInvocationHack


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