org.jboss.invocation.iiop
Class IIOPInvoker
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.invocation.iiop.IIOPInvoker
- All Implemented Interfaces:
- MBeanRegistration, NotificationBroadcaster, NotificationEmitter, ObjectFactory, IIOPInvokerMBean, ServantRegistries, org.jboss.kernel.spi.dependency.KernelControllerContextAware, Service, ServiceMBean
public class IIOPInvoker
- extends 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:
- a
ServantRegistry
with a single transient POA
shared among all its servants;
- a
ServantRegistry
with a single persistent POA
shared among all its servants;
- a
ServantRegistry
with a transient POA per servant;
- a
ServantRegistry
with persistent POA per servant.
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: 81018 $
- Author:
- Francisco Reverbel
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 |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IIOPInvoker
public IIOPInvoker()
createService
public void createService()
throws Exception
- Overrides:
createService
in class ServiceMBeanSupport
- Throws:
Exception
startService
public void startService()
throws Exception
- Overrides:
startService
in class ServiceMBeanSupport
- Throws:
Exception
stopService
public void stopService()
throws Exception
- Overrides:
stopService
in class ServiceMBeanSupport
- 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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.