1. /*
  2. * @(#)NormalDataCollector.java 1.8 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.impl.orb ;
  8. import java.net.InetAddress ;
  9. import java.util.Properties ;
  10. import org.omg.CORBA.INTERNAL ;
  11. import org.omg.CORBA.CompletionStatus ;
  12. public class NormalDataCollector extends DataCollectorBase {
  13. private String[] args ;
  14. public NormalDataCollector( String[] args, Properties props,
  15. String localHostName, String configurationHostName )
  16. {
  17. super( props, localHostName, configurationHostName ) ;
  18. this.args = args ;
  19. }
  20. public boolean isApplet()
  21. {
  22. return false ;
  23. }
  24. protected void collect()
  25. {
  26. checkPropertyDefaults() ;
  27. findPropertiesFromFile() ;
  28. findPropertiesFromSystem() ;
  29. findPropertiesFromProperties() ;
  30. findPropertiesFromArgs( args ) ;
  31. }
  32. }