Class BootstrapServerRequestDispatcher

java.lang.Object
com.sun.corba.ee.impl.protocol.BootstrapServerRequestDispatcher
All Implemented Interfaces:
ServerRequestDispatcher

public class BootstrapServerRequestDispatcher extends 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 Details

  • Constructor Details

    • BootstrapServerRequestDispatcher

      public BootstrapServerRequestDispatcher(ORB orb)
  • Method Details

    • 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 interface ServerRequestDispatcher
    • 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 interface ServerRequestDispatcher
      Parameters:
      objectKey - ignored
      Returns:
      null
    • getId

      public int getId()
      Not implemented
      Returns:
      never