Class DataCollectorBase

java.lang.Object
com.sun.corba.se.impl.orb.DataCollectorBase
All Implemented Interfaces:
DataCollector
Direct Known Subclasses:
AppletDataCollector, NormalDataCollector, PropertyOnlyDataCollector

public abstract class DataCollectorBase extends Object implements DataCollector
  • Field Details

    • localHostName

      protected String localHostName
    • configurationHostName

      protected String configurationHostName
  • Constructor Details

    • DataCollectorBase

      public DataCollectorBase(Properties props, String localHostName, String configurationHostName)
  • Method Details

    • initialHostIsLocal

      public boolean initialHostIsLocal()
      Description copied from interface: DataCollector
      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.
      Specified by:
      initialHostIsLocal in interface DataCollector
    • setParser

      public void setParser(PropertyParser parser)
      Description copied from interface: DataCollector
      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.
      Specified by:
      setParser in interface DataCollector
    • getProperties

      public Properties getProperties()
      Description copied from interface: DataCollector
      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.
      Specified by:
      getProperties in interface DataCollector
    • isApplet

      public abstract boolean isApplet()
      Description copied from interface: DataCollector
      Return true iff this DataCollector was created from applet data.
      Specified by:
      isApplet in interface DataCollector
    • collect

      protected abstract void collect()
    • checkPropertyDefaults

      protected void checkPropertyDefaults()
    • findPropertiesFromArgs

      protected void findPropertiesFromArgs(String[] params)
    • findPropertiesFromApplet

      protected void findPropertiesFromApplet(Applet app)
    • findPropertiesFromFile

      protected void findPropertiesFromFile()
    • findPropertiesFromProperties

      protected void findPropertiesFromProperties()
    • findPropertiesFromSystem

      protected void findPropertiesFromSystem()