edu.sc.seis.fissuresUtil.simple
Class Initializer

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.simple.Initializer

public abstract class Initializer
extends java.lang.Object


Field Summary
static StationId AMNO
           
static ChannelId AMNOChannel
           
static StationId ANDY
           
static ChannelId ANDYChannel
           
static ChannelId fakeChan
           
static NetworkId fakeNet
           
static StationId fakeStation
           
static NetworkId IU
           
static java.lang.String[] POSSIBLE_PROP_OPTION_NAMES
           
static NetworkId SP
           
 
Constructor Summary
Initializer()
           
 
Method Summary
static FissuresNamingService createNamingService(org.omg.CORBA_2_3.ORB orb, java.util.Properties props)
           
static FissuresNamingService getNS()
           
static org.omg.CORBA_2_3.ORB getORB()
           
static java.util.Properties getProps()
           
static void init(java.lang.String[] args)
           
static java.util.Properties loadProperties(java.lang.String[] args)
           
static java.util.Properties loadProperties(java.lang.String[] args, java.util.Properties baseProps)
           
static java.util.Properties loadProperties(java.lang.String[] args, java.util.Properties baseProps, boolean chatty)
          If chatty is true, notify std out for every prop file loaded
static void loadProps(java.io.InputStream propStream, java.util.Properties baseProps)
           
static void registerValuetypes(org.omg.CORBA_2_3.ORB orb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POSSIBLE_PROP_OPTION_NAMES

public static final java.lang.String[] POSSIBLE_PROP_OPTION_NAMES

IU

public static final NetworkId IU

AMNO

public static final StationId AMNO

AMNOChannel

public static final ChannelId AMNOChannel

SP

public static final NetworkId SP

ANDY

public static final StationId ANDY

ANDYChannel

public static final ChannelId ANDYChannel

fakeNet

public static final NetworkId fakeNet

fakeStation

public static StationId fakeStation

fakeChan

public static ChannelId fakeChan
Constructor Detail

Initializer

public Initializer()
Method Detail

init

public static void init(java.lang.String[] args)

createNamingService

public static FissuresNamingService createNamingService(org.omg.CORBA_2_3.ORB orb,
                                                        java.util.Properties props)

registerValuetypes

public static void registerValuetypes(org.omg.CORBA_2_3.ORB orb)

loadProperties

public static java.util.Properties loadProperties(java.lang.String[] args)
                                           throws java.io.IOException
Throws:
java.io.IOException

loadProperties

public static java.util.Properties loadProperties(java.lang.String[] args,
                                                  java.util.Properties baseProps)
                                           throws java.io.IOException
Throws:
java.io.IOException

loadProperties

public static java.util.Properties loadProperties(java.lang.String[] args,
                                                  java.util.Properties baseProps,
                                                  boolean chatty)
                                           throws java.io.IOException
If chatty is true, notify std out for every prop file loaded

Throws:
java.io.IOException

getORB

public static org.omg.CORBA_2_3.ORB getORB()

getNS

public static FissuresNamingService getNS()

getProps

public static java.util.Properties getProps()

loadProps

public static void loadProps(java.io.InputStream propStream,
                             java.util.Properties baseProps)
                      throws java.io.IOException
Throws:
java.io.IOException