KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > orb > NormalDataCollector


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
8 package com.sun.corba.se.impl.orb ;
9
10 import java.net.InetAddress JavaDoc ;
11
12 import java.util.Properties JavaDoc ;
13
14 import org.omg.CORBA.INTERNAL JavaDoc ;
15 import org.omg.CORBA.CompletionStatus JavaDoc ;
16
17 public class NormalDataCollector extends DataCollectorBase {
18     private String JavaDoc[] args ;
19
20     public NormalDataCollector( String JavaDoc[] args, Properties JavaDoc props,
21     String JavaDoc localHostName, String JavaDoc configurationHostName )
22     {
23     super( props, localHostName, configurationHostName ) ;
24     this.args = args ;
25     }
26
27     public boolean isApplet()
28     {
29     return false ;
30     }
31
32     protected void collect()
33     {
34     checkPropertyDefaults() ;
35
36         findPropertiesFromFile() ;
37         findPropertiesFromSystem() ;
38         findPropertiesFromProperties() ;
39         findPropertiesFromArgs( args ) ;
40     }
41 }
42
Popular Tags