org.glite.security.voms.database
Class DBContainerFactory

java.lang.Object
  extended byorg.glite.security.voms.database.DBContainerFactory

public class DBContainerFactory
extends java.lang.Object

Creating DBContainer instances.

Author:
Karoly Lorentey

Constructor Summary
DBContainerFactory()
           
 
Method Summary
static DBContainer getDBContainer(java.lang.String name)
          Returns the container object corresponding to the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBContainerFactory

public DBContainerFactory()
Method Detail

getDBContainer

public static DBContainer getDBContainer(java.lang.String name)
                                  throws GeneralDatabaseException,
                                         NotInDatabase,
                                         ArgumentException
Returns the container object corresponding to the given name.

Throws:
ArgumentException - if name is not well-formed.
NotInDatabase - if name has valid syntax, but there is no such container in the database
InconsistentDatabase - if there is a problem with the database
GeneralDatabaseException