public final class DatabaseFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DatabaseFactory.PdbModule
Module that enables dependency injection in PDB.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseEngine |
getConnection(Properties p)
Gets a database connection from the specified properties.
|
public static DatabaseEngine getConnection(Properties p) throws DatabaseFactoryException
p - The database properties.DatabaseFactoryException - If the class specified does not exist or its not well implemented.Copyright © 2014 Feedzai. All Rights Reserved.