| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.persistence.engines.jdbcengine.configservice.ConfigurationService
This class implements the Singleton pattern. Use the getInstance() method to get an instance of this class. The Configuration Service reads the init.xml file. It then performs the initializations. This class caches the ClassMetaData objects. It also maintains all the Database objects.
| Method Summary | |
|  Database | getDatabase(String name)Returns a Database object for the database name, as defined in the init file. | 
|  Map | getDatabases()Returns a Map of Database objects, keyed by database name, as defined in the init file. | 
| static ConfigurationService | getInstance()Creates an instance of ConfigurationService, if not already instantiated. | 
|  ClassMetaData | getMetaData(String classname)This tries to locate the mapping file for the input classname through the list of locations as defined in the init file. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public static ConfigurationService getInstance()
public Map getDatabases()
public Database getDatabase(String name)
name - The database name.
public ClassMetaData getMetaData(String classname)
classname - The class for which the mapping file is going to be parsed.
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||