Package com.sun.corba.ee.impl.protocol
Class BootstrapServerRequestDispatcher
java.lang.Object
com.sun.corba.ee.impl.protocol.BootstrapServerRequestDispatcher
- All Implemented Interfaces:
ServerRequestDispatcher
Class BootstrapServerRequestDispatcher handles the requests coming to the
BootstrapServer. It implements Server so that it can be registered
as a subcontract. It is passed a BootstrapServiceProperties object
which contains
the supported ids and their values for the bootstrap service. This
Properties object is only read from, never written to, and is shared
among all threads.
The BootstrapServerRequestDispatcher responds primarily to GIOP requests, but LocateRequests are also handled for graceful interoperability. The BootstrapServerRequestDispatcher handles one request at a time.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final boolean
private ORB
(package private) static final ORBUtilSystemException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatch
(MessageMediator messageMediator) Dispatch is called by the ORB and will serve get(key) and list() invocations on the initial object key.int
getId()
Not implementedLocates the object mentioned in the locate requests, and returns object here iff the object is the initial object key.
-
Field Details
-
orb
-
wrapper
-
debug
private static final boolean debug- See Also:
-
-
Constructor Details
-
BootstrapServerRequestDispatcher
-
-
Method Details
-
dispatch
Dispatch is called by the ORB and will serve get(key) and list() invocations on the initial object key.- Specified by:
dispatch
in interfaceServerRequestDispatcher
-
locate
Locates the object mentioned in the locate requests, and returns object here iff the object is the initial object key. A SystemException thrown if the object key is not the initial object key.- Specified by:
locate
in interfaceServerRequestDispatcher
- Parameters:
objectKey
- ignored- Returns:
null
-
getId
public int getId()Not implemented- Returns:
- never
-