|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.invocation.http.server.HttpProxyFactory
org.jboss.invocation.http.server.HttpProxyFactoryHA
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.
| Field Summary |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
HttpProxyFactoryHA()
|
|
| Method Summary | |
protected org.jboss.invocation.Invoker |
createInvoker()
Override the HttpProxyFactory method to create a HttpInvokerProxyHA. |
protected ArrayList |
defineInterceptors()
|
void |
destroy()
Destroys the HATarget |
Class |
getLoadBalancePolicy()
Get the server side mbean that exposes the invoke operation for the exported interface |
String |
getPartitionName()
Get the name of the cluster partition the invoker is deployed in |
javax.management.ObjectName |
getRealJmxInvokerName()
A read-only property for accessing the non-wrapped JMX invoker |
void |
setInvokerName(javax.management.ObjectName jmxInvokerName)
Override the superclass method to create a wrapped ObjectName for the HAInvokerWrapper mbean. |
void |
setLoadBalancePolicy(Class policyClass)
Set the server side mbean that exposes the invoke operation for the exported interface |
void |
setPartitionName(String name)
Set the name of the cluster partition the invoker is deployed in |
protected void |
stopService()
Override the HttpProxyFactory stop to unregister the HAInvokerWrapper mbean |
| Methods inherited from class org.jboss.invocation.http.server.HttpProxyFactory |
checkInvokerURL, defineDefaultInterceptors, getClientInterceptors, getExportedInterface, getInvokerName, getInvokerURL, getInvokerURLPrefix, getInvokerURLSuffix, getJndiName, getProxy, getProxy, getUseHostName, setClientInterceptors, setExportedInterface, setInvokerURL, setInvokerURLPrefix, setInvokerURLSuffix, setJndiName, setUseHostName, startService |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.invocation.http.server.HttpProxyFactoryMBean |
getClientInterceptors, getExportedInterface, getInvokerName, getInvokerURL, getInvokerURLPrefix, getInvokerURLSuffix, getJndiName, getProxy, getProxy, getUseHostName, setClientInterceptors, setExportedInterface, setInvokerURL, setInvokerURLPrefix, setInvokerURLSuffix, setJndiName, setUseHostName |
| Methods inherited from interface org.jboss.system.Service |
create, start, stop |
| Constructor Detail |
public HttpProxyFactoryHA()
| Method Detail |
public Class getLoadBalancePolicy()
getLoadBalancePolicy in interface HttpProxyFactoryHAMBeanpublic void setLoadBalancePolicy(Class policyClass)
setLoadBalancePolicy in interface HttpProxyFactoryHAMBeanpublic String getPartitionName()
getPartitionName in interface HttpProxyFactoryHAMBeanpublic void setPartitionName(String name)
setPartitionName in interface HttpProxyFactoryHAMBeanpublic void setInvokerName(javax.management.ObjectName jmxInvokerName)
setInvokerName in interface org.jboss.invocation.http.server.HttpProxyFactoryMBeanjmxInvokerName - public javax.management.ObjectName getRealJmxInvokerName()
HttpProxyFactoryHAMBean
getRealJmxInvokerName in interface HttpProxyFactoryHAMBeanprotected ArrayList defineInterceptors()
protected org.jboss.invocation.Invoker createInvoker()
throws Exception
Exception
protected void stopService()
throws Exception
Exceptionpublic void destroy()
destroy in interface org.jboss.system.Service
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||