Package com.sun.corba.ee.impl.protocol
Class BootstrapServerRequestDispatcher
- java.lang.Object
-
- com.sun.corba.ee.impl.protocol.BootstrapServerRequestDispatcher
-
- All Implemented Interfaces:
ServerRequestDispatcher
public class BootstrapServerRequestDispatcher extends java.lang.Object implements 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
Fields Modifier and Type Field Description private static boolean
debug
private ORB
orb
(package private) static ORBUtilSystemException
wrapper
-
Constructor Summary
Constructors Constructor Description BootstrapServerRequestDispatcher(ORB orb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 implementedIOR
locate(ObjectKey objectKey)
Locates the object mentioned in the locate requests, and returns object here iff the object is the initial object key.
-
-
-
Field Detail
-
orb
private ORB orb
-
wrapper
static final ORBUtilSystemException wrapper
-
debug
private static final boolean debug
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BootstrapServerRequestDispatcher
public BootstrapServerRequestDispatcher(ORB orb)
-
-
Method Detail
-
dispatch
public void dispatch(MessageMediator messageMediator)
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
public IOR locate(ObjectKey objectKey)
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
-
-