org.jboss.ejb3.proxy.clustered.invocation
Class InvokableContextClusteredProxyInvocationHandler
java.lang.Object
org.jboss.aspects.remoting.PojiProxy
org.jboss.ejb3.proxy.impl.invocation.InvokableContextStatefulRemoteProxyInvocationHack
org.jboss.ejb3.proxy.clustered.invocation.InvokableContextClusteredProxyInvocationHandler
- All Implemented Interfaces:
- java.io.Serializable, java.lang.reflect.InvocationHandler
public class InvokableContextClusteredProxyInvocationHandler
- extends org.jboss.ejb3.proxy.impl.invocation.InvokableContextStatefulRemoteProxyInvocationHack
Extends the superclass to add additional clustering metadata to each
invocation.
- See Also:
- Serialized Form
|
Constructor Summary |
InvokableContextClusteredProxyInvocationHandler(java.lang.Object oid,
java.lang.String containerGuid,
org.jboss.remoting.InvokerLocator uri,
org.jboss.aop.advice.Interceptor[] interceptors,
java.io.Serializable sessionId,
org.jboss.aspects.remoting.FamilyWrapper family,
org.jboss.ha.client.loadbalance.LoadBalancePolicy lb,
java.lang.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 |
InvokableContextClusteredProxyInvocationHandler
public InvokableContextClusteredProxyInvocationHandler(java.lang.Object oid,
java.lang.String containerGuid,
org.jboss.remoting.InvokerLocator uri,
org.jboss.aop.advice.Interceptor[] interceptors,
java.io.Serializable sessionId,
org.jboss.aspects.remoting.FamilyWrapper family,
org.jboss.ha.client.loadbalance.LoadBalancePolicy lb,
java.lang.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.
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