Interface DataCollector

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Properties getProperties()
      Return the consolidated property information to be used for ORB configuration.
      boolean initialHostIsLocal()
      Return true iff the local host and ORB initial host are the same.
      boolean isApplet()
      Return true iff this DataCollector was created from applet data.
      void setParser​(PropertyParser parser)
      Set the parser which is used to obtain property names.
    • Method Detail

      • isApplet

        boolean isApplet()
        Return true iff this DataCollector was created from applet data.
        Returns:
        if this was created from an applet
      • initialHostIsLocal

        boolean initialHostIsLocal()
        Return true iff the local host and ORB initial host are the same. This is provided to avoid exposing the local host in insecure contexts.
        Returns:
        if the local host and ORB initial host are the same
      • setParser

        void setParser​(PropertyParser parser)
        Set the parser which is used to obtain property names. This must be called before getProperties may be called. It may be called multiple times if different sets of properties are needed for the same data sources.
        Parameters:
        parser - parser used to obtain property names
      • getProperties

        java.util.Properties getProperties()
        Return the consolidated property information to be used for ORB configuration. Note that -ORBInitRef arguments are handled specially: all -ORBInitRef name=value arguments are converted into ( org.omg.CORBA.ORBInitRef.name, value ) mappings in the resulting properties. Also, -ORBInitialServices is handled specially in applet mode: they are converted from relative to absolute URLs.
        Returns:
        consolidated property information
        Throws:
        java.lang.IllegalStateException - if setPropertyNames has not been called.