Method Summary |
|
public void | cleanup() Cleans up all connections that have been reserved by this datasource. |
public Datasource | getDatasource(String name) Retrieves the Datasource that corresponds to a provided
name. |
public Collection<String> | getDatasourceNames() Retrieves a collection of all the Datasource names that are
known by this Datasources instance. |
public static Datasources | getRepInstance() Retrieves the Datasources instance that is initialized by
the ParticipantDatasources participant in the
application-wide repository. |
public String | getXmlPath() |
public static boolean | hasRepInstance() Checks if a ParticipantDatasources participant has been
initialized and is available from the application-wide repository. |
public void | setDatasource(String name, Datasource datasource) Stores a Datasource with a provided name to be able to
reference it later. |
public void | storeToXml() Stores the XML document with all the data in the current
Datasources instance to the same file that populated
this instance. |
public synchronized void | storeToXml(File destination) Stores the XML document with all the data in the current
Datasources instance to the provided file. |
public String | toXml() |