public class AmberPersistenceManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
log |
Constructor and Description |
---|
AmberPersistenceManager()
Create a persistence manager
|
Modifier and Type | Method and Description |
---|---|
void |
addPersistenceUnit(PersistenceUnitProxy proxy) |
void |
addPersistenceUnitDefault(ContainerProgram program) |
void |
init() |
void |
setDataSource(javax.sql.DataSource dataSource) |
public AmberPersistenceManager() throws ConfigException
ConfigException
public void setDataSource(javax.sql.DataSource dataSource)
public void addPersistenceUnitDefault(ContainerProgram program)
public void addPersistenceUnit(PersistenceUnitProxy proxy)
@PostConstruct public void init()