| |
|
| org.jboss.invocation.http.server.HttpProxyFactoryHA
HttpProxyFactoryHA | public class HttpProxyFactoryHA extends HttpProxyFactory implements HttpProxyFactoryHAMBean(Code) | | An extension of HttpProxyFactory that supports clustering of invoker proxies.
It does this by creating a HATarget that monitors the replication of the
invoker url and creates a HAInvokerWrapper that handles wrapping the
underlying invocation result with changes to the HATarget replication
view.
author: Scott Stark version: $Revision: 57188 $ |
createInvoker | protected Invoker createInvoker() throws Exception(Code) | | Override the HttpProxyFactory method to create a HttpInvokerProxyHA.
throws: Exception - |
destroy | public void destroy()(Code) | | Destroys the HATarget
|
getLoadBalancePolicy | public Class getLoadBalancePolicy()(Code) | | Get the server side mbean that exposes the invoke operation for the
exported interface
|
getPartitionName | public String getPartitionName()(Code) | | Get the name of the cluster partition the invoker is deployed in
|
getRealJmxInvokerName | public ObjectName getRealJmxInvokerName()(Code) | | the ObjectName the HAInvokerWrapper delegates to |
setInvokerName | public void setInvokerName(ObjectName jmxInvokerName)(Code) | | Override the superclass method to create a wrapped ObjectName for the
HAInvokerWrapper mbean. This will be the name of the invoker as known
by the proxy. The HAInvokerWrapper is the HttpProxyFactoryHA name +
wrapperType=httpHA
Parameters: jmxInvokerName - |
setLoadBalancePolicy | public void setLoadBalancePolicy(Class policyClass)(Code) | | Set the server side mbean that exposes the invoke operation for the
exported interface
|
setPartitionName | public void setPartitionName(String name)(Code) | | Set the name of the cluster partition the invoker is deployed in
|
stopService | protected void stopService() throws Exception(Code) | | Override the HttpProxyFactory stop to unregister the HAInvokerWrapper
mbean
throws: Exception - |
|
|
|