|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eiichiro.jaguar.Component<javax.persistence.EntityManager>
org.eiichiro.gig.persistence.JPAEntityManagerComponent
@Name(value="org.eiichiro.gig.persistence.JPAEntityManager") @Request public class JPAEntityManagerComponent
JPAEntityManagerComponent is a representing JPA 2.0
EntityManager for PostgreSQL-based Heroku database service.
| Constructor Summary | |
|---|---|
JPAEntityManagerComponent()
|
|
| Method Summary | |
|---|---|
void |
assemble()
Lifecycle callback to assemble this instance with the EntityManager
JPAEntityManagerFactoryComponent 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 JPAEntityManagerComponent()
| Method Detail |
|---|
@Activated public void assemble()
EntityManager
JPAEntityManagerFactoryComponent returns.
@Passivated public void close()
EntityManager.
public javax.persistence.EntityManager instance()
EntityManager this instance manages.
The EntityManager may be null if the
JPAEntityManagerFactoryComponent could not establish the connection
to the database service.
instance in class org.eiichiro.jaguar.Component<javax.persistence.EntityManager>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||