|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ServerInstanceResources
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.
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 |
public static ServerInstanceResources getInstance()
public java.lang.String getString(java.lang.String key)
key
- the resource keypublic java.lang.Boolean getBoolean(java.lang.String key)
key
- the resource key
public java.lang.Integer getInteger(java.lang.String key)
key
- the resource key
public java.lang.Float getFloat(java.lang.String key)
key
- the resource key
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |