Class CachingMutableEntityProvider<T>

Type Parameters:
T -
All Implemented Interfaces:
CachingEntityProvider<T>, EntityProvider<T>, EntityProviderChangeNotifier<T>, MutableEntityProvider<T>, JndiJtaProvider<T>, Serializable

public class CachingMutableEntityProvider<T> extends CachingMutableLocalEntityProvider<T> implements JndiJtaProvider<T>
An entity provider implementation that uses JTA transactions and JPA context provided by the application server. To provide a generic non EJB provider this class gets references to both UserTransaction and EntityManager via JNDI lookup.
See Also:
  • Constructor Details

    • CachingMutableEntityProvider

      public CachingMutableEntityProvider(Class<T> entityClass)
    • CachingMutableEntityProvider

      public CachingMutableEntityProvider(Class<T> entityClass, JndiAddresses jndiAddresses)
  • Method Details