public class EntityManagerRegister extends AbstractDaoAdapterRegister<org.milyn.scribe.adapter.jpa.EntityManagerDaoAdapter,javax.persistence.EntityManager>
Constructor and Description |
---|
EntityManagerRegister(javax.persistence.EntityManager defaultAdaptable) |
EntityManagerRegister(javax.persistence.EntityManager defaultAdaptable,
Map<String,? extends javax.persistence.EntityManager> adaptableMap) |
EntityManagerRegister(Map<String,? extends javax.persistence.EntityManager> adaptableMap) |
Modifier and Type | Method and Description |
---|---|
protected org.milyn.scribe.adapter.jpa.EntityManagerDaoAdapter |
createAdapter(javax.persistence.EntityManager adaptable)
This method creates the Dao Adapter from the Adaptable.
|
addToSessionMap, getDao, getDefaultDao
returnDao
public EntityManagerRegister(javax.persistence.EntityManager defaultAdaptable)
public EntityManagerRegister(javax.persistence.EntityManager defaultAdaptable, Map<String,? extends javax.persistence.EntityManager> adaptableMap)
protected org.milyn.scribe.adapter.jpa.EntityManagerDaoAdapter createAdapter(javax.persistence.EntityManager adaptable)
AbstractDaoAdapterRegister
NOTE
This method can not reference any object fields because this
method is called in the constructor of the
AbstractDaoAdapterRegister
class.
createAdapter
in class AbstractDaoAdapterRegister<org.milyn.scribe.adapter.jpa.EntityManagerDaoAdapter,javax.persistence.EntityManager>
adaptable
- The object that will be adapted by a Dao AdapterCopyright © 2020. All rights reserved.