当前页面:
在线文档首页 >
JBoss Seam 1.2.1 API 英文版文档
PersistenceController (JBoss Seam API Documentation) - JBoss Seam 1.2.1 API 英文版文档
org.jboss.seam.framework
Class PersistenceController<T>
java.lang.Object
org.jboss.seam.framework.Controller
org.jboss.seam.framework.PersistenceController<T>
- Type Parameters:
T
- the persistence context class (eg. Session or EntityManager)
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- EntityController, HibernateEntityController, MutableController, Query
public abstract class PersistenceController<T>
- extends Controller
Base class for controller objects which require a persistence
context object.
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class org.jboss.seam.framework.Controller |
addCookie, addFacesMessage, addFacesMessageFromResourceBundle, debug, debug, error, error, failValidation, fatal, fatal, getApplicationContext, getBusinessProcessContext, getComponentInstance, getComponentInstance, getConversation, getConversationContext, getCookie, getEventContext, getEvents, getFacesContext, getFacesMessages, getIdentity, getLog, getMessages, getMethodContext, getPageContext, getRedirect, getSessionContext, getValidator, info, info, interpolate, invalidateSession, isTransactionMarkedRollback, raiseAsynchronousEvent, raiseEvent, raiseTransactionSuccessEvent, render, sendHttpError, sendHttpError, trace, trace, validationFailed, validationSucceeded, warn, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceController
public PersistenceController()
getPersistenceContext
public T getPersistenceContext()
setPersistenceContext
public void setPersistenceContext(T persistenceContext)
getPersistenceContextName
protected abstract String getPersistenceContextName()