Interface EntityManagerFactory
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
BibernateEntityManagerFactory
,BibernateSessionFactory
Interface representing a factory for creating EntityManager instances in the Bibernate framework.
An EntityManagerFactory is used to obtain EntityManager instances, which provide access to the underlying persistence context.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the BibernateSessionFactory associated with this EntityManagerFactory.Retrieves the SimpleRepositoryInvocationHandler associated with this EntityManagerFactory.
-
Method Details
-
getBibernateSessionFactory
BibernateSessionFactory getBibernateSessionFactory()Retrieves the BibernateSessionFactory associated with this EntityManagerFactory.- Returns:
- the BibernateSessionFactory instance
-
getSimpleRepositoryInvocationHandler
SimpleRepositoryInvocationHandler getSimpleRepositoryInvocationHandler()Retrieves the SimpleRepositoryInvocationHandler associated with this EntityManagerFactory. The SimpleRepositoryInvocationHandler is responsible for handling method invocations on simple repository interfaces.- Returns:
- the SimpleRepositoryInvocationHandler instance
-