Package com.sun.corba.se.impl.protocol
Class RequestDispatcherRegistryImpl
java.lang.Object
com.sun.corba.se.impl.protocol.RequestDispatcherRegistryImpl
- All Implemented Interfaces:
RequestDispatcherRegistry
This is a registry of all subcontract ID dependent objects. This includes:
LocalClientRequestDispatcherFactory, ClientRequestDispatcher, ServerSubcontract, and
ObjectAdapterFactory.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClientRequestDispatcher(int scid) Get the ClientRequestDispatcher for subcontract ID scid.getLocalClientRequestDispatcherFactory(int scid) Get the LocalClientRequestDispatcher for subcontract ID scid.Return the set of all ObjectAdapterFactory instances that are registered.getObjectAdapterFactory(int scid) Get the ObjectAdapterFactory for a particular subcontract ID scid.getServerRequestDispatcher(int scid) Get the CorbaServerRequestDispatcher for subcontract ID scid.Get the CorbaServerRequestDispatcher for a particular object key.voidregisterClientRequestDispatcher(ClientRequestDispatcher csc, int scid) Register a ClientRequestDispatcher for a particular subcontract ID.voidRegister a LocalClientRequestDispatcher for a particular subcontract ID.voidregisterObjectAdapterFactory(ObjectAdapterFactory oaf, int scid) Register an ObjectAdapterFactory for a particular subcontract ID.voidregisterServerRequestDispatcher(CorbaServerRequestDispatcher ssc, int scid) Register a CorbaServerRequestDispatcher for a particular subcontract ID.voidRegister a CorbaServerRequestDispatcher for handling an explicit object key name.
-
Field Details
-
defaultId
protected int defaultId
-
-
Constructor Details
-
RequestDispatcherRegistryImpl
-
-
Method Details
-
registerClientRequestDispatcher
Description copied from interface:RequestDispatcherRegistryRegister a ClientRequestDispatcher for a particular subcontract ID. The subcontract ID appears in the ObjectKey of an object reference, and is used to control how a remote method invocation is processed by the ORB for a particular kind of object reference.- Specified by:
registerClientRequestDispatcherin interfaceRequestDispatcherRegistry
-
registerLocalClientRequestDispatcherFactory
public void registerLocalClientRequestDispatcherFactory(LocalClientRequestDispatcherFactory csc, int scid) Description copied from interface:RequestDispatcherRegistryRegister a LocalClientRequestDispatcher for a particular subcontract ID. The subcontract ID appears in the ObjectKey of an object reference, and is used to control how a particular kind of colocated request is processed.- Specified by:
registerLocalClientRequestDispatcherFactoryin interfaceRequestDispatcherRegistry
-
registerServerRequestDispatcher
Description copied from interface:RequestDispatcherRegistryRegister a CorbaServerRequestDispatcher for a particular subcontract ID. The subcontract ID appears in the ObjectKey of an object reference, and is used to control how a particular kind of request is processed when received by the ORB.- Specified by:
registerServerRequestDispatcherin interfaceRequestDispatcherRegistry
-
registerServerRequestDispatcher
Description copied from interface:RequestDispatcherRegistryRegister a CorbaServerRequestDispatcher for handling an explicit object key name. This is used for non-standard invocations such as INS and the bootstrap name service.- Specified by:
registerServerRequestDispatcherin interfaceRequestDispatcherRegistry
-
registerObjectAdapterFactory
Description copied from interface:RequestDispatcherRegistryRegister an ObjectAdapterFactory for a particular subcontract ID. This controls how Object references are created and managed.- Specified by:
registerObjectAdapterFactoryin interfaceRequestDispatcherRegistry
-
getServerRequestDispatcher
Description copied from interface:RequestDispatcherRegistryGet the CorbaServerRequestDispatcher for subcontract ID scid.- Specified by:
getServerRequestDispatcherin interfaceRequestDispatcherRegistry
-
getServerRequestDispatcher
Description copied from interface:RequestDispatcherRegistryGet the CorbaServerRequestDispatcher for a particular object key.- Specified by:
getServerRequestDispatcherin interfaceRequestDispatcherRegistry
-
getLocalClientRequestDispatcherFactory
Description copied from interface:RequestDispatcherRegistryGet the LocalClientRequestDispatcher for subcontract ID scid.- Specified by:
getLocalClientRequestDispatcherFactoryin interfaceRequestDispatcherRegistry
-
getClientRequestDispatcher
Description copied from interface:RequestDispatcherRegistryGet the ClientRequestDispatcher for subcontract ID scid.- Specified by:
getClientRequestDispatcherin interfaceRequestDispatcherRegistry
-
getObjectAdapterFactory
Description copied from interface:RequestDispatcherRegistryGet the ObjectAdapterFactory for a particular subcontract ID scid.- Specified by:
getObjectAdapterFactoryin interfaceRequestDispatcherRegistry
-
getObjectAdapterFactories
Description copied from interface:RequestDispatcherRegistryReturn the set of all ObjectAdapterFactory instances that are registered.- Specified by:
getObjectAdapterFactoriesin interfaceRequestDispatcherRegistry
-