Errai 3.0.1-SNAPSHOT

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

Method Summary
 ErraiEntityManager createEntityManager()
          Creates a new ErraiEntityManager configured according to the settings on the implementing factory.
 

Method Detail

createEntityManager

ErraiEntityManager createEntityManager()
Creates a new ErraiEntityManager configured according to the settings on the implementing factory.

Returns:
a new instance of ErraiEntityManager.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.