DataCollectorFactorypublic abstract class DataCollectorFactory extends Object
Constructors Summary |
---|
private DataCollectorFactory()
|
Methods Summary |
---|
public static com.sun.corba.se.spi.orb.DataCollector | create(java.applet.Applet app, java.util.Properties props, java.lang.String localHostName)
String appletHost = localHostName ;
if (app != null) {
URL appletCodeBase = app.getCodeBase() ;
if (appletCodeBase != null)
appletHost = appletCodeBase.getHost() ;
}
return new AppletDataCollector( app, props, localHostName,
appletHost ) ;
| public static com.sun.corba.se.spi.orb.DataCollector | create(java.lang.String[] args, java.util.Properties props, java.lang.String localHostName)
return new NormalDataCollector( args, props, localHostName,
localHostName ) ;
| public static com.sun.corba.se.spi.orb.DataCollector | create(java.util.Properties props, java.lang.String localHostName)
return new PropertyOnlyDataCollector( props, localHostName,
localHostName ) ;
|
|