public interface EntityManagerFactoryAccess
Modifier and Type | Method and Description |
---|---|
javax.persistence.EntityManagerFactory |
entityManagerFactory(String scopedPersistenceUnitName)
returns the entity manager factory that statistics should be obtained for.
|
javax.persistence.EntityManagerFactory entityManagerFactory(String scopedPersistenceUnitName) throws IllegalStateException
scopedPersistenceUnitName
- is persistence unit name scoped to the current platformIllegalStateException
- if scopedPersistenceUnitName is not foundCopyright © 2017 Red Hat. All rights reserved.