JSlim  


com.gtcgroup.jslim
Class Initializer

java.lang.Object
  extended bycom.gtcgroup.jslim.Initializer

final class Initializer
extends java.lang.Object

This class provides a set of static methods loosely associated with JSlim initialization.

Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.

Since:
v. 1.0
Author:
MDT (MarvinToll@gtcGroup.com)

Field Summary
private static ServiceKeyVO serviceKeyVO
           
 
Constructor Summary
private Initializer()
           
 
Method Summary
(package private) static int getIntServiceType(java.lang.String strServiceType)
          Returns an integer int representation of a service type.
(package private) static ServiceKeyVO initializeSystemProperties(ServiceKeyVO serviceKeyVO_)
          Interrogates system properties to determine if any descriptor document values are supplanted by VM parameters.
private static void initializeSystemProperty(java.lang.String strProperty, java.lang.String strElementKey, boolean isBoolean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceKeyVO

private static ServiceKeyVO serviceKeyVO
Constructor Detail

Initializer

private Initializer()
Method Detail

initializeSystemProperties

static final ServiceKeyVO initializeSystemProperties(ServiceKeyVO serviceKeyVO_)
                                              throws JSlimException
Interrogates system properties to determine if any descriptor document values are supplanted by VM parameters. Determines if a -D system property was used at startup and if so, overide the value entered in the descriptor document.

Parameters:
serviceKeyVO_ - A portion of a descriptor document representing one service.
Returns:
An updated ServiceKeyVO.
Throws:
JSlimException - if an exception encountered.

initializeSystemProperty

private static void initializeSystemProperty(java.lang.String strProperty,
                                             java.lang.String strElementKey,
                                             boolean isBoolean)
                                      throws JSlimException
Throws:
JSlimException

getIntServiceType

static final int getIntServiceType(java.lang.String strServiceType)
Returns an integer int representation of a service type.

Parameters:
strServiceType - Represents the service type read from a descriptor document.
Returns:
An integer int representation of a service type.

JSlim  


Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.