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

IIOPInvoker (JBoss IIOP Plugin API) - JBoss 4.0.1 sp1 iiop API Documentation 英文版文档


org.jboss.invocation.iiop
Class IIOPInvoker

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.invocation.iiop.IIOPInvoker
All Implemented Interfaces:
IIOPInvokerMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ObjectFactory, ServantRegistries, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class IIOPInvoker
extends org.jboss.system.ServiceMBeanSupport
implements IIOPInvokerMBean, ServantRegistries, ObjectFactory

IIOP invoker that routs IIOP requests to CORBA servants. It implements the interface ServantRegistries, which gives access to four ServantRegistry instances:

CORBA servants registered with any of these ServantRegistry instances will receive IIOP invocations. These CORBA servants will typically be thin wrappers that merely forward to the JBoss MBean server any invocations they receive.

Version:
$Revision: 1.4 $
Author:
Francisco Reverbel

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
IIOPInvoker()
           
 
Method Summary
 void createService()
           
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
 ServantRegistry getServantRegistry(ServantRegistryKind kind)
          Returns a ServantRegistry of the given kind.
 void startService()
           
 void stopService()
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, destroy, 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.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

IIOPInvoker

public IIOPInvoker()
Method Detail

createService

public void createService()
                   throws Exception
Throws:
Exception

startService

public void startService()
                  throws Exception
Throws:
Exception

stopService

public void stopService()
                 throws Exception
Throws:
Exception

getServantRegistry

public ServantRegistry getServantRegistry(ServantRegistryKind kind)
Description copied from interface: ServantRegistries
Returns a ServantRegistry of the given kind.

Specified by:
getServantRegistry in interface ServantRegistries

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable environment)
                         throws Exception
Specified by:
getObjectInstance in interface ObjectFactory
Throws:
Exception


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