Class DataCollectorBase
java.lang.Object
com.sun.corba.ee.impl.orb.DataCollectorBase
- All Implemented Interfaces:
DataCollector
- Direct Known Subclasses:
AppletDataCollector, NormalDataCollector, PropertyOnlyDataCollector
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDataCollectorBase(Properties props, String localHostName, String configurationHostName) -
Method Summary
Modifier and TypeMethodDescriptionprotected void///////////////////////////////////////////////////////protected abstract voidcollect()///////////////////////////////////////////////////////protected voidprotected voidfindPropertiesFromArgs(String[] params) protected voidprotected voidprotected voidReturn the consolidated property information to be used for ORB configuration.boolean///////////////////////////////////////////////////////abstract booleanisApplet()///////////////////////////////////////////////////////voidsetParser(PropertyParser parser) Set the parser which is used to obtain property names.
-
Field Details
-
localHostName
-
configurationHostName
-
-
Constructor Details
-
DataCollectorBase
-
-
Method Details
-
initialHostIsLocal
public boolean initialHostIsLocal()///////////////////////////////////////////////////////- Specified by:
initialHostIsLocalin interfaceDataCollector- Returns:
- if the local host and ORB initial host are the same
-
setParser
Description copied from interface:DataCollectorSet 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:
setParserin interfaceDataCollector- Parameters:
parser- parser used to obtain property names
-
getProperties
Description copied from interface:DataCollectorReturn 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:
getPropertiesin interfaceDataCollector- Returns:
- consolidated property information
-
isApplet
public abstract boolean isApplet()///////////////////////////////////////////////////////- Specified by:
isAppletin interfaceDataCollector- Returns:
- if this was created from an applet
-
collect
protected abstract void collect()/////////////////////////////////////////////////////// -
checkPropertyDefaults
protected void checkPropertyDefaults()/////////////////////////////////////////////////////// -
findPropertiesFromArgs
-
findPropertiesFromApplet
-
findPropertiesFromFile
protected void findPropertiesFromFile() -
findPropertiesFromProperties
protected void findPropertiesFromProperties() -
findPropertiesFromSystem
protected void findPropertiesFromSystem()
-