FileDocCategorySizeDatePackage
DataCollector.javaAPI DocJava SE 5 API1710Fri Aug 26 14:54:38 BST 2005com.sun.corba.se.spi.orb

DataCollector

public interface DataCollector
Interface for collecting all sources of ORB configuration properties into a single properties object. A PropertyParser is needed so that the set of property names of interest is known.

Fields Summary
Constructors Summary
Methods Summary
public java.util.PropertiesgetProperties()
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.

raises
IllegalStateException if setPropertyNames has not been called.

public booleaninitialHostIsLocal()
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.

public booleanisApplet()
Return true iff this DataCollector was created from applet data.

public voidsetParser(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.