站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 cluster API Documentation 英文版文档

HttpInvokerHA (JBoss Cluster API) - JBoss 4.0.1 sp1 cluster API Documentation 英文版文档


org.jboss.invocation.http.server
Class HttpInvokerHA

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.invocation.http.server.HttpInvoker
              extended byorg.jboss.invocation.http.server.HttpInvokerHA
All Implemented Interfaces:
org.jboss.invocation.http.server.HttpInvokerMBean, InvokerHA, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class HttpInvokerHA
extends org.jboss.invocation.http.server.HttpInvoker
implements InvokerHA

An extension of the HttpInvoker and supports clustering of HTTP invokers.

Version:
$Revision: 1.2 $
Author:
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, 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.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

targetMap

protected HashMap targetMap
Constructor Detail

HttpInvokerHA

public HttpInvokerHA()
Method Detail

startService

protected void startService()
                     throws Exception
Throws:
Exception

stopService

protected void stopService()

destroyService

protected void destroyService()

registerBean

public void registerBean(javax.management.ObjectName targetName,
                         HATarget target)
                  throws Exception
Specified by:
registerBean in interface InvokerHA
Throws:
Exception

unregisterBean

public void unregisterBean(javax.management.ObjectName targetName)
                    throws Exception
Specified by:
unregisterBean in interface InvokerHA
Throws:
Exception

createProxy

public org.jboss.invocation.Invoker createProxy(javax.management.ObjectName targetName,
                                                LoadBalancePolicy policy,
                                                String proxyFamilyName)
                                         throws Exception
Specified by:
createProxy in interface InvokerHA
Throws:
Exception

getStub

public Serializable getStub()
Specified by:
getStub in interface InvokerHA

invoke

public Object invoke(org.jboss.invocation.Invocation invocation)
              throws Exception
Invoke a Remote interface method.

Specified by:
invoke in interface org.jboss.invocation.http.server.HttpInvokerMBean
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.