org.jboss.errai.jpa.client.local
Interface ErraiEntityManagerFactory
public interface ErraiEntityManagerFactory
Implementations of ErraiEntityManagerFactory are responsible for creating
instances of ErraiEntityManager. Users of the Errai framework don't normally
need to refer to this type directly; instead, they can
@Inject EntityManager
directly into application classes, and allow
ErraiEntityManagerProvider
to create factories as necessary.
- Author:
- Jonathan Fuerth
createEntityManager
ErraiEntityManager createEntityManager()
- Creates a new ErraiEntityManager configured according to the settings on
the implementing factory.
- Returns:
- a new instance of
ErraiEntityManager
.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.