|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.invocation.http.server.HttpProxyFactory (src)
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 (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
HttpProxyFactoryHA()
|
Method Summary | |
protected Invoker (src) |
createInvoker()
Override the HttpProxyFactory method to create a HttpInvokerProxyHA. |
protected java.util.ArrayList |
defineInterceptors()
|
void |
destroy()
Destroys the HATarget |
java.lang.Class |
getLoadBalancePolicy()
Get the server side mbean that exposes the invoke operation for the exported interface |
java.lang.String |
getPartitionName()
Get the name of the cluster partition the invoker is deployed in |
ObjectName (src) |
getRealJmxInvokerName()
A read-only property for accessing the non-wrapped JMX invoker |
void |
setInvokerName(ObjectName (src) jmxInvokerName)
Override the superclass method to create a wrapped ObjectName for the HAInvokerWrapper mbean. |
void |
setLoadBalancePolicy(java.lang.Class policyClass)
Set the server side mbean that exposes the invoke operation for the exported interface |
void |
setPartitionName(java.lang.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 (src) |
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 (src) |
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 (src) |
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 (src) |
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 (src) |
create, start, stop |
Constructor Detail |
public HttpProxyFactoryHA()
Method Detail |
public java.lang.Class getLoadBalancePolicy()
getLoadBalancePolicy
in interface HttpProxyFactoryHAMBean (src)
public void setLoadBalancePolicy(java.lang.Class policyClass)
setLoadBalancePolicy
in interface HttpProxyFactoryHAMBean (src)
public java.lang.String getPartitionName()
getPartitionName
in interface HttpProxyFactoryHAMBean (src)
public void setPartitionName(java.lang.String name)
setPartitionName
in interface HttpProxyFactoryHAMBean (src)
public void setInvokerName(ObjectName (src) jmxInvokerName)
setInvokerName
in interface HttpProxyFactoryMBean (src)
setInvokerName
in class HttpProxyFactory (src)
jmxInvokerName
- public ObjectName (src) getRealJmxInvokerName()
HttpProxyFactoryHAMBean (src)
getRealJmxInvokerName
in interface HttpProxyFactoryHAMBean (src)
protected java.util.ArrayList defineInterceptors()
protected Invoker (src) createInvoker() throws java.lang.Exception
createInvoker
in class HttpProxyFactory (src)
java.lang.Exception
protected void stopService() throws java.lang.Exception
stopService
in class HttpProxyFactory (src)
java.lang.Exception
public void destroy()
destroy
in interface Service (src)
destroy
in class ServiceMBeanSupport (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |