1 7 8 package com.sun.corba.se.impl.orb ; 9 10 import java.applet.Applet ; 11 import java.util.Properties ; 12 13 public class AppletDataCollector extends DataCollectorBase { 14 private Applet applet ; 15 16 AppletDataCollector( Applet app, Properties props, String localHostName, 17 String configurationHostName ) 18 { 19 super( props, localHostName, configurationHostName ) ; 20 this.applet = app ; 21 } 22 23 public boolean isApplet() 24 { 25 return true ; 26 } 27 28 protected void collect( ) 29 { 30 checkPropertyDefaults() ; 31 32 findPropertiesFromFile() ; 33 34 37 findPropertiesFromProperties() ; 38 findPropertiesFromApplet( applet ) ; 39 } 40 } 41 | Popular Tags |