org.jboss.invocation.iiop
Class IIOPInvoker
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.invocation.iiop.IIOPInvoker
- All Implemented Interfaces:
- IIOPInvokerMBean (src) , MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , javax.naming.spi.ObjectFactory, ServantRegistries (src) , Service (src) , ServiceMBean (src)
- public class IIOPInvoker
- extends ServiceMBeanSupport (src)
- implements IIOPInvokerMBean (src) , ServantRegistries (src) , javax.naming.spi.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.
| 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 |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IIOPInvoker
public IIOPInvoker()
createService
public void createService()
throws java.lang.Exception
- Description copied from class:
ServiceMBeanSupport (src)
- Sub-classes should override this method to provide
custum 'create' logic.
This method is empty, and is provided for convenience
when concrete service classes do not need to perform
anything specific for this state change.
- Overrides:
createService in class ServiceMBeanSupport (src)
- Throws:
java.lang.Exception
startService
public void startService()
throws java.lang.Exception
- Description copied from class:
ServiceMBeanSupport (src)
- Sub-classes should override this method to provide
custum 'start' logic.
This method is empty, and is provided for convenience
when concrete service classes do not need to perform
anything specific for this state change.
- Overrides:
startService in class ServiceMBeanSupport (src)
- Throws:
java.lang.Exception
stopService
public void stopService()
throws java.lang.Exception
- Description copied from class:
ServiceMBeanSupport (src)
- Sub-classes should override this method to provide
custum 'stop' logic.
This method is empty, and is provided for convenience
when concrete service classes do not need to perform
anything specific for this state change.
- Overrides:
stopService in class ServiceMBeanSupport (src)
- Throws:
java.lang.Exception
getServantRegistry
public ServantRegistry (src) getServantRegistry(ServantRegistryKind (src) kind)
- Description copied from interface:
ServantRegistries (src)
- Returns a
ServantRegistry of the given kind.
- Specified by:
getServantRegistry in interface ServantRegistries (src)
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
throws java.lang.Exception
- Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
- Throws:
java.lang.Exception