Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.persistence
Class PersistenceProvider

    java.lang.Object
      org.jboss.seam.persistence.PersistenceProvider

Direct Known Subclasses:
  HibernatePersistenceProvider

    @Name(value="org.jboss.seam.persistence.persistenceProvider")
    @Scope(value=STATELESS)
    @Intercept(value=NEVER)
    @Install(precedence=0,
             genericDependencies=ManagedPersistenceContext.class)
    public class PersistenceProvider

extends Object

Abstraction layer for persistence providers (JPA implementations). This class provides a working base implementation that can be optimized for performance and non-standardized features by extending and overriding the methods.

Author:
  Gavin King

Constructor Summary
`PersistenceProvider()`

Method Summary
`void` | `enableFilter(Filter f, javax.persistence.EntityManager entityManager)`
`Object` | `getId(Object bean, javax.persistence.EntityManager entityManager)`
`FlushModeType` | `getRenderFlushMode()`
`static PersistenceProvider` | `instance()`
`boolean` | `isDirty(javax.persistence.EntityManager entityManager)`
`void` | `setFlushModeManual(javax.persistence.EntityManager entityManager)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PersistenceProvider

    public PersistenceProvider()

Method Detail

### setFlushModeManual

    public void setFlushModeManual(javax.persistence.EntityManager entityManager)

### isDirty

    public boolean isDirty(javax.persistence.EntityManager entityManager)

### getId

    public Object getId(Object bean,
                        javax.persistence.EntityManager entityManager)

### enableFilter

    public void enableFilter(Filter f,
                             javax.persistence.EntityManager entityManager)

### instance

    public static PersistenceProvider instance()

### getRenderFlushMode

    public FlushModeType getRenderFlushMode()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD