Package com.sun.corba.se.impl.orb
Class DataCollectorBase
java.lang.Object
com.sun.corba.se.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 voidprotected abstract voidcollect()protected voidprotected voidfindPropertiesFromArgs(String[] params) protected voidprotected voidprotected voidReturn the consolidated property information to be used for ORB configuration.booleanReturn true iff the local host and ORB initial host are the same.abstract booleanisApplet()Return true iff this DataCollector was created from applet data.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()Description copied from interface:DataCollectorReturn 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:
initialHostIsLocalin interfaceDataCollector
-
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
-
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
-
isApplet
public abstract boolean isApplet()Description copied from interface:DataCollectorReturn true iff this DataCollector was created from applet data.- Specified by:
isAppletin interfaceDataCollector
-
collect
protected abstract void collect() -
checkPropertyDefaults
protected void checkPropertyDefaults() -
findPropertiesFromArgs
-
findPropertiesFromApplet
-
findPropertiesFromFile
protected void findPropertiesFromFile() -
findPropertiesFromProperties
protected void findPropertiesFromProperties() -
findPropertiesFromSystem
protected void findPropertiesFromSystem()
-