|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eiichiro.jazzmaster.Component<javax.persistence.EntityManager>
org.eiichiro.gig.heroku.HerokuJPAEntityManager
@Request public class HerokuJPAEntityManager
HerokuJPAEntityManager is a representing JPA 2.0
EntityManager for PostgreSQL-based Heroku database service.
| Constructor Summary | |
|---|---|
HerokuJPAEntityManager()
|
|
| Method Summary | |
|---|---|
void |
assemble()
Lifecycle callback to assemble this instance with the EntityManager
HerokuJPAEntityManagerFactory returns. |
void |
close()
Lifecycle callback to close the EntityManager. |
javax.persistence.EntityManager |
instance()
Returns the EntityManager this instance manages. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HerokuJPAEntityManager()
| Method Detail |
|---|
@Activated public void assemble()
EntityManager
HerokuJPAEntityManagerFactory returns.
@Passivated public void close()
EntityManager.
public javax.persistence.EntityManager instance()
EntityManager this instance manages.
The EntityManager may be null if the
HerokuJPAEntityManagerFactory could not establish the connection
to the database service.
instance in class org.eiichiro.jazzmaster.Component<javax.persistence.EntityManager>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||