org.jboss.ejb3.proxy.clustered.handler.session.stateful
Class StatefulClusteredProxyInvocationHandler

java.lang.Object
  extended by org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase
      extended by org.jboss.ejb3.proxy.impl.handler.session.SessionRemoteProxyInvocationHandler
          extended by org.jboss.ejb3.proxy.clustered.handler.session.stateful.StatefulClusteredProxyInvocationHandler
All Implemented Interfaces:
java.io.Serializable, java.lang.reflect.InvocationHandler, org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandler

public class StatefulClusteredProxyInvocationHandler
extends org.jboss.ejb3.proxy.impl.handler.session.SessionRemoteProxyInvocationHandler

InvocationHandler for remote proxies to clustered SFSBs.

See Also:
Serialized Form

Constructor Summary
StatefulClusteredProxyInvocationHandler(java.lang.String containerName, java.lang.String containerGuid, org.jboss.aop.advice.Interceptor[] interceptors, java.lang.String businessInterfaceType, java.lang.Object target, java.lang.String url, org.jboss.aspects.remoting.FamilyWrapper family, org.jboss.ha.client.loadbalance.LoadBalancePolicy lb, java.lang.String partitionName)
          Create a new StatefulClusteredRemoteProxyInvocationHandler.
 
Method Summary
protected  org.jboss.ejb3.proxy.spi.container.InvokableContext getContainer(java.lang.reflect.Method method, java.lang.Object[] args)
          
 org.jboss.aspects.remoting.FamilyWrapper getFamilyWrapper()
           
 org.jboss.ha.client.loadbalance.LoadBalancePolicy getLoadBalancePolicy()
           
 java.lang.String getPartitionName()
           
 
Methods inherited from class org.jboss.ejb3.proxy.impl.handler.session.SessionRemoteProxyInvocationHandler
getUrl, setUrl
 
Methods inherited from class org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase
canBeHandledDirectly, getBusinessInterfaceType, getContainerGuid, getContainerName, getInterceptors, getTarget, handleInvocationDirectly, invoke, invokeEquals, invokeHashCode, setBusinessInterfaceType, setContainerGuid, setContainerName, setInterceptors, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulClusteredProxyInvocationHandler

public StatefulClusteredProxyInvocationHandler(java.lang.String containerName,
                                               java.lang.String containerGuid,
                                               org.jboss.aop.advice.Interceptor[] interceptors,
                                               java.lang.String businessInterfaceType,
                                               java.lang.Object target,
                                               java.lang.String url,
                                               org.jboss.aspects.remoting.FamilyWrapper family,
                                               org.jboss.ha.client.loadbalance.LoadBalancePolicy lb,
                                               java.lang.String partitionName)
Create a new StatefulClusteredRemoteProxyInvocationHandler.

Parameters:
family - clustering target information. Cannot be null.
lb - LoadBalancePolicy implementation. Cannot be null.
partitionName - name of the cluster partition. Cannot be null.
Method Detail

getContainer

protected org.jboss.ejb3.proxy.spi.container.InvokableContext getContainer(java.lang.reflect.Method method,
                                                                           java.lang.Object[] args)

Overrides:
getContainer in class org.jboss.ejb3.proxy.impl.handler.session.SessionRemoteProxyInvocationHandler
See Also:
SessionRemoteProxyInvocationHandler.getContainer(java.lang.reflect.Method, java.lang.Object[])

getFamilyWrapper

public org.jboss.aspects.remoting.FamilyWrapper getFamilyWrapper()

getLoadBalancePolicy

public org.jboss.ha.client.loadbalance.LoadBalancePolicy getLoadBalancePolicy()

getPartitionName

public java.lang.String getPartitionName()