|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
XML object database interface.
$Id: Database.java,v 1.2 2001/10/19 03:25:34 balsoy Exp $
Method Summary | |
XMLObject |
getXMLObject(java.lang.String databaseName)
Retrieves the root XML object for the given name. |
void |
initialize()
Initializes the database with current environment variables and default configuration values. |
void |
initialize(java.util.Hashtable env)
Initializes the database with the given variables. |
boolean |
isInitialized()
Checks if context manager is initialized previously. |
Method Detail |
public XMLObject getXMLObject(java.lang.String databaseName) throws XMLException
databaseName
- name of the database to be retrieved or constructed.XMLException
- if an error is encountered.public boolean isInitialized()
initialize()
public void initialize() throws XMLException
XMLException
- if the database is already initialized.public void initialize(java.util.Hashtable env) throws XMLException
env
- Current environment settings. It should include at least
"java.naming.factory.initial".XMLException
- if the database is already initialized.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |