|
||||||||||
| 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.HttpInvoker
org.jboss.invocation.http.server.HttpInvokerHA
public class HttpInvokerHA
An extension of the HttpInvoker and supports clustering of HTTP invokers.
| Field Summary | |
|---|---|
protected HashMap |
targetMap
|
| 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 | |
|---|---|
HttpInvokerHA()
|
|
| Method Summary | |
|---|---|
org.jboss.invocation.Invoker |
createProxy(javax.management.ObjectName targetName,
LoadBalancePolicy policy,
String proxyFamilyName)
|
protected void |
destroyService()
|
Serializable |
getStub()
|
Object |
invoke(org.jboss.invocation.Invocation invocation)
Invoke a Remote interface method. |
void |
registerBean(javax.management.ObjectName targetName,
HATarget target)
|
protected void |
startService()
|
protected void |
stopService()
|
void |
unregisterBean(javax.management.ObjectName targetName)
|
| Methods inherited from class org.jboss.invocation.http.server.HttpInvoker |
|---|
checkInvokerURL, getInvokerURL, getInvokerURLPrefix, getInvokerURLSuffix, getUseHostName, importTPC, setInvokerURL, setInvokerURLPrefix, setInvokerURLSuffix, setUseHostName |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, getDeploymentInfo, 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, nextNotificationSequenceNumber, 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.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Field Detail |
|---|
protected HashMap targetMap
| Constructor Detail |
|---|
public HttpInvokerHA()
| Method Detail |
|---|
protected void startService()
throws Exception
startService in class org.jboss.invocation.http.server.HttpInvokerExceptionprotected void stopService()
stopService in class org.jboss.invocation.http.server.HttpInvokerprotected void destroyService()
destroyService in class org.jboss.invocation.http.server.HttpInvoker
public void registerBean(javax.management.ObjectName targetName,
HATarget target)
throws Exception
registerBean in interface InvokerHAException
public void unregisterBean(javax.management.ObjectName targetName)
throws Exception
unregisterBean in interface InvokerHAException
public org.jboss.invocation.Invoker createProxy(javax.management.ObjectName targetName,
LoadBalancePolicy policy,
String proxyFamilyName)
throws Exception
createProxy in interface InvokerHAExceptionpublic Serializable getStub()
getStub in interface InvokerHA
public Object invoke(org.jboss.invocation.Invocation invocation)
throws Exception
invoke in interface org.jboss.invocation.http.server.HttpInvokerMBeaninvoke in class org.jboss.invocation.http.server.HttpInvokerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||