org.mydm.db
Class DBConnector

java.lang.Object
  extended byorg.mydm.db.DBConnector

public class DBConnector
extends java.lang.Object

This is the main Class for the XMLDB Connections


Method Summary
 void close(java.lang.String colname)
           
 org.xmldb.api.base.Collection getConnection(java.lang.String colname)
          Gets the Connection to the Collection Specified.
static DBConnector getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DBConnector getInstance()

getConnection

public org.xmldb.api.base.Collection getConnection(java.lang.String colname)
Gets the Connection to the Collection Specified.

Parameters:
colname - collection name to which the connection is needed
Returns:
col connection to the collection

close

public void close(java.lang.String colname)