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:
Serializable, 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.

Author:
Brian Stansberry
See Also:
Serialized Form

Constructor Summary
StatefulClusteredProxyInvocationHandler(String containerName, String containerGuid, org.jboss.aop.advice.Interceptor[] interceptors, String businessInterfaceType, String url, org.jboss.aspects.remoting.FamilyWrapper family, org.jboss.ha.client.loadbalance.LoadBalancePolicy lb, String partitionName)
          Create a new StatefulClusteredRemoteProxyInvocationHandler.
 
Method Summary
protected  org.jboss.ejb3.proxy.spi.container.InvokableContext createRemoteProxyToContainer(String url)
           
 org.jboss.aspects.remoting.FamilyWrapper getFamilyWrapper()
           
 org.jboss.ha.client.loadbalance.LoadBalancePolicy getLoadBalancePolicy()
           
 String getPartitionName()
           
 
Methods inherited from class org.jboss.ejb3.proxy.impl.handler.session.SessionRemoteProxyInvocationHandler
getContainer, getUrl, setUrl
 
Methods inherited from class org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase
getBusinessInterfaceType, getContainerGuid, getContainerLocally, getContainerName, getInterceptors, getTarget, handleInvocationDirectly, invoke, 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(String containerName,
                                               String containerGuid,
                                               org.jboss.aop.advice.Interceptor[] interceptors,
                                               String businessInterfaceType,
                                               String url,
                                               org.jboss.aspects.remoting.FamilyWrapper family,
                                               org.jboss.ha.client.loadbalance.LoadBalancePolicy lb,
                                               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

createRemoteProxyToContainer

protected org.jboss.ejb3.proxy.spi.container.InvokableContext createRemoteProxyToContainer(String url)
Overrides:
createRemoteProxyToContainer in class org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase

getFamilyWrapper

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

getLoadBalancePolicy

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

getPartitionName

public String getPartitionName()


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