com.caucho.amber.cfg
Class AmberPersistenceManager

java.lang.Object
  extended by com.caucho.amber.cfg.AmberPersistenceManager

public class AmberPersistenceManager
extends java.lang.Object

Configures the persistence for a level.


Field Summary
protected static java.util.logging.Logger log
           
 
Constructor Summary
AmberPersistenceManager()
          Create a persistence manager
 
Method Summary
 void addPersistenceUnit(PersistenceUnitProxy proxy)
           
 void addPersistenceUnitDefault(ContainerProgram program)
           
 void init()
           
 void setDataSource(javax.sql.DataSource dataSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final java.util.logging.Logger log
Constructor Detail

AmberPersistenceManager

public AmberPersistenceManager()
                        throws ConfigException
Create a persistence manager

Throws:
ConfigException
Method Detail

setDataSource

public void setDataSource(javax.sql.DataSource dataSource)

addPersistenceUnitDefault

public void addPersistenceUnitDefault(ContainerProgram program)

addPersistenceUnit

public void addPersistenceUnit(PersistenceUnitProxy proxy)

init

@PostConstruct
public void init()