com.northgateis.realweb
Class RwDatabase
java.lang.Object
|
+--com.northgateis.comms.dda.DDAConnectionSpec
|
+--com.northgateis.realweb.RwDatabase
- public class RwDatabase
- extends DDAConnectionSpec
This class manages the RealWeb database of connection mappings.
Connection specifications are held in the text file realweb.ini.
This file should only be modified using the rwconfig servlet.
This class caches the contents realweb.ini and also caches individual
sections. Updating realweb.ini should only be done through this class
to ensure the caches are updated correctly.
Field Summary
|
static java.lang.String
|
iniFile
|
Method Summary |
static RwDatabase | getIniVars(java.lang.String section) This is the main entry point. |
static void | saveIni(IniFiles ini) Update the realweb.ini file and invalidate all cache records. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
iniFile
public static final java.lang.String iniFile
saveIni
public static void saveIni(IniFiles ini)
- Update the realweb.ini file and invalidate all cache records.
- Parameters:
ini
- The new ini structure used to overwrite realweb.ini
getIniVars
public static RwDatabasegetIniVars(java.lang.String section)
throws RealWebException
- This is the main entry point. Look up the section in the section cache.
If not there then create a new cache entry
Copyright (c) 2000 NEC Software Services (UK) Limited
NEC welcomes your feedback on our documentation.
If you have any comments about the current Reality Help, or want something to be added in a future revision, please contact your NEC Helpdesk.
If your comment relates to this particular Help topic, remember to include the following information:
Product:
|
RealityVersion 15.4
|
Help revision:
|
Revision 0
|
Help topic:
|
Reality Interface Classes: Class RwDatabase
(JReal)
|
File name:
|
rwdatabase.html
|