|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ActivityManipulation
| Method Summary | |
|---|---|
void |
addActivity(SbbEntityManagerImpl em)
|
boolean |
isEMFOpen(java.lang.String puName)
Checks wheather EMF is present, and if it is, it checks if its open. |
void |
removeActivity(SbbEntityManagerImpl em)
|
javax.persistence.EntityManagerFactory |
subscribeForEntityManagerFactoryForPU(java.lang.String puName,
java.util.Map emfProperties)
This method notifies that someone is interesetd in using EMF for particular PU. |
void |
unsubscribeForEntityManagerFactoryForPU(java.lang.String puName)
Notifies that soemone is no longer interesetd in using EMF for certain PU. |
| Method Detail |
|---|
void addActivity(SbbEntityManagerImpl em)
void removeActivity(SbbEntityManagerImpl em)
javax.persistence.EntityManagerFactory subscribeForEntityManagerFactoryForPU(java.lang.String puName,
java.util.Map emfProperties)
puName - - name of persistence unit for which Entity\ManagerFactory will be created.emfProperties - - map of propererties used to create EMF if none is present. If EMF is present it is ignored. This always can be set to null
void unsubscribeForEntityManagerFactoryForPU(java.lang.String puName)
puName - - name of persistence unit.boolean isEMFOpen(java.lang.String puName)
puName - - name of persistence unit.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||