| java.lang.Object org.jboss.invocation.http.interfaces.HttpInvokerProxyHA
HttpInvokerProxyHA | public class HttpInvokerProxyHA implements InvokerProxyHA,Invoker,Externalizable(Code) | | The client side Http invoker proxy that posts an invocation to the
InvokerServlet using the HttpURLConnection created from a target url.
This proxy handles failover using its associated LoadBalancePolicy and
current list of URL strings. The candidate URLs are updated dynamically
after an invocation if the cluster partitation view has changed.
author: Scott.Stark@jboss.org version: $Revision: 57188 $ |
trace | protected transient boolean trace(Code) | | Trace level logging flag only set when the proxy is created or read from JNDI
|
HttpInvokerProxyHA | public HttpInvokerProxyHA()(Code) | | |
HttpInvokerProxyHA | public HttpInvokerProxyHA(ArrayList targets, long viewId, LoadBalancePolicy policy, String proxyFamilyName)(Code) | | Parameters: targets - the list of URLs through which clients should contact theInvokerServlet. Parameters: policy - the policy for choosing among targets ClusteringTargetsRepository underwhich this proxy is to be stored Parameters: proxyFamilyName - the name into the |
getRemoteTarget | public Object getRemoteTarget(Invocation invocationBasedRouting)(Code) | | |
invoke | public Object invoke(Invocation invocation) throws Exception(Code) | | This method builds a MarshalledInvocation from the invocation passed
in and then does a post to the target URL.
|
remoteTargetHasFailed | public void remoteTargetHasFailed(Object target)(Code) | | |
removeDeadTarget | protected void removeDeadTarget(Object target)(Code) | | |
resetView | protected void resetView()(Code) | | |
totalNumberOfTargets | protected int totalNumberOfTargets()(Code) | | |
updateClusterInfo | public void updateClusterInfo(ArrayList targets, long viewId)(Code) | | |
|
|