Package com.sun.corba.ee.spi.protocol
Interface RequestDispatcherRegistry
- All Known Implementing Classes:
RequestDispatcherRegistryImpl
public interface RequestDispatcherRegistry
This is a registry of all subcontract ID dependent objects. This includes:
LocalClientRequestDispatcherFactory, ClientRequestDispatcher, ServerRequestDispatcher, and
ObjectAdapterFactory.
-
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.void
registerClientRequestDispatcher
(ClientRequestDispatcher csc, int scid) Register a ClientRequestDispatcher for a particular subcontract ID.void
Register a LocalClientRequestDispatcher for a particular subcontract ID.void
registerObjectAdapterFactory
(ObjectAdapterFactory oaf, int scid) Register an ObjectAdapterFactory for a particular subcontract ID.void
registerServerRequestDispatcher
(ServerRequestDispatcher ssc, int scid) Register a CorbaServerRequestDispatcher for a particular subcontract ID.void
Register a CorbaServerRequestDispatcher for handling an explicit object key name.
-
Method Details
-
registerClientRequestDispatcher
Register 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.- Parameters:
csc
- Dispatcher to registerscid
- ID to register with
-
getClientRequestDispatcher
Get the ClientRequestDispatcher for subcontract ID scid.- Parameters:
scid
- ID of the relevant Dispatcher- Returns:
- found Dispatcher
-
registerLocalClientRequestDispatcherFactory
Register 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.- Parameters:
csc
- DispatcherFactory to registerscid
- ID of factory
-
getLocalClientRequestDispatcherFactory
Get the LocalClientRequestDispatcher for subcontract ID scid.- Parameters:
scid
- ID to tuse to look up- Returns:
- found Dispatcher
-
registerServerRequestDispatcher
Register 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.- Parameters:
ssc
- Dispatcher to registerscid
- id to register with
-
getServerRequestDispatcher
Get the CorbaServerRequestDispatcher for subcontract ID scid.- Parameters:
scid
- ID to use to look up- Returns:
- Found Dispatcher
-
registerServerRequestDispatcher
Register a CorbaServerRequestDispatcher for handling an explicit object key name. This is used for non-standard invocations such as INS and the bootstrap name service.- Parameters:
ssc
- Dispatcher to registername
- Name to register with
-
getServerRequestDispatcher
Get the CorbaServerRequestDispatcher for a particular object key.- Parameters:
name
- Name of dispatcher- Returns:
- The retrieved Dispatcher
-
registerObjectAdapterFactory
Register an ObjectAdapterFactory for a particular subcontract ID. This controls how Object references are created and managed.- Parameters:
oaf
- factory to registerscid
- id of factory
-
getObjectAdapterFactory
Get the ObjectAdapterFactory for a particular subcontract ID scid.- Parameters:
scid
- id of of factory- Returns:
- relevant factory
-
getObjectAdapterFactories
Set<ObjectAdapterFactory> getObjectAdapterFactories()Return the set of all ObjectAdapterFactory instances that are registered.- Returns:
- All registered factories
-