Package es.bsc.dataclay.dbhandler
Class DBHandlerFactory
- java.lang.Object
-
- es.bsc.dataclay.dbhandler.DBHandlerFactory
-
public class DBHandlerFactory extends Object
Factory to return instances of specific DBHandlers, according to the provided type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DBHandlerFactory.DBHandlerType
All the supported DBHandler subtypes.
-
Constructor Summary
Constructors Constructor Description DBHandlerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DBHandler
getDBHandler(DBHandlerFactory.DBHandlerType type)
Get the handler for a specific database.
-
-
-
Method Detail
-
getDBHandler
public static DBHandler getDBHandler(DBHandlerFactory.DBHandlerType type)
Get the handler for a specific database.- Parameters:
type
- The desired type for the return DBHandler instance.- Returns:
- A DBHandler instance.
-
-