com.bankframe
Class ServerInstanceResources

java.lang.Object
  extended bycom.bankframe.ServerInstanceResources

public class ServerInstanceResources
extends java.lang.Object

This class should be used instead of BFR for per server instance vars as opposed to cluster wide props. You can still get your cluster wide props usually held in the BFR.props file in the obvious ways.

Author:
rgwood

Method Summary
 java.lang.Boolean getBoolean(java.lang.String key)
          For values that are Booleans in the resource file, this method will read the value that matches the passed key an cast it to a Boolean
 java.lang.Float getFloat(java.lang.String key)
          For values that are Floats in the resource file, this method will read the value that matches the passed key an cast it to a Boolean
static ServerInstanceResources getInstance()
          This method returns an instance of the ServerInstanceResource object.
 java.lang.Integer getInteger(java.lang.String key)
          For values that are Integers in the resource file, this method will read the value that matches the passed key an cast it to a Boolean
 java.lang.String getString(java.lang.String key)
          This method will read the value that matches the passed key
static void main(java.lang.String[] args)
          Use this to test this class
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ServerInstanceResources getInstance()
This method returns an instance of the ServerInstanceResource object.

Returns:
ServerInstanceResource

getString

public java.lang.String getString(java.lang.String key)
This method will read the value that matches the passed key

Parameters:
key - the resource key

getBoolean

public java.lang.Boolean getBoolean(java.lang.String key)
For values that are Booleans in the resource file, this method will read the value that matches the passed key an cast it to a Boolean

Parameters:
key - the resource key
Returns:
a Boolean object

getInteger

public java.lang.Integer getInteger(java.lang.String key)
For values that are Integers in the resource file, this method will read the value that matches the passed key an cast it to a Boolean

Parameters:
key - the resource key
Returns:
an Integer object

getFloat

public java.lang.Float getFloat(java.lang.String key)
For values that are Floats in the resource file, this method will read the value that matches the passed key an cast it to a Boolean

Parameters:
key - the resource key
Returns:
a Float object

main

public static void main(java.lang.String[] args)
Use this to test this class



Copyright © 2004 Siebel Systems, Inc. All rights reserved.