站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 API 英文版文档

PersistenceProvider (JBoss Seam API Documentation) - JBoss Seam 1.1.0 API 英文版文档


org.jboss.seam.persistence
Class PersistenceProvider

java.lang.Object
  extended by org.jboss.seam.persistence.PersistenceProvider
Direct Known Subclasses:
HibernatePersistenceProvider

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


Constructor Summary
PersistenceProvider()
           
 
Method Summary
 void enableFilter(Filter f, javax.persistence.EntityManager entityManager)
           
 Object getId(Object bean, javax.persistence.EntityManager entityManager)
           
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()