FileDocCategorySizeDatePackage
DataCollectorFactory.javaAPI DocJava SE 5 API1194Fri Aug 26 14:54:28 BST 2005com.sun.corba.se.impl.orb

DataCollectorFactory

public abstract class DataCollectorFactory extends Object

Fields Summary
Constructors Summary
private DataCollectorFactory()

Methods Summary
public static com.sun.corba.se.spi.orb.DataCollectorcreate(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.DataCollectorcreate(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.DataCollectorcreate(java.util.Properties props, java.lang.String localHostName)

	return new PropertyOnlyDataCollector( props, localHostName,
	    localHostName ) ;