Class 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.

    • 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 implemented
      IOR locate​(ObjectKey objectKey)
      Locates the object mentioned in the locate requests, and returns object here iff the object is the initial object key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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