public class JDOApplication extends NonTransactionalJDOApplication
PersistenceManager
for the lifecycle of the session. In addition, this instance
provides automatic Transaction management by starting a
new Transaction at the inception of a request, and
committing the Transaction at the end of the
request.
© Copyright 2007 Sans Pareil Technologies, Inc.
persistenceManagercontentPane, dataDirectory, logger, MINIMUM_INTERVAL, pollingInterval, principal, properties, TIME_ZONES, timeZone, user, windowFOCUSED_COMPONENT_CHANGED_PROPERTY, ID_STRING, LOCALE_CHANGED_PROPERTY, MODAL_COMPONENTS_CHANGED_PROPERTY, WINDOWS_CHANGED_PROPERTY| Constructor and Description |
|---|
JDOApplication()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
activated()
Initialise
NonTransactionalJDOApplication.persistenceManager when this instance is about to
be activated to process a user request. |
protected void |
deactivating()
Close
NonTransactionalJDOApplication.persistenceManager when this instance is about to
be deactivated from service. |
static JDOApplication |
getApplication()
Convenience method to return the active application as a properly typed
object.
|
activate, closePersistenceManager, dispose, getPersistenceManager, openPersistenceManager, passivateaddPane, addTask, getContentPane, getDataDirectory, getLocales, getLogger, getOffset, getParentView, getPrincipal, getProperty, getTimeZone, getUser, getWindow, getZIndex, hasQueuedTasks, init, processFatalException, processFatalException, removePane, removeTask, setContentPane, setDataDirectory, setPrincipal, setProperty, setUser, updatePollingIntervaladdPropertyChangeListener, createTaskQueue, doInit, doValidation, enqueueCommand, enqueueTask, firePropertyChange, generateId, generateSystemId, getActive, getComponentByRenderId, getContextProperty, getDefaultWindow, getFocusedComponent, getLayoutDirection, getLocale, getModalContextRoot, getStyle, getStyleSheet, getUpdateManager, hasTaskQueues, processInput, processQueuedTasks, removePropertyChangeListener, removeTaskQueue, setActive, setContextProperty, setFocusedComponent, setLocale, setStyleSheetpublic JDOApplication()
throws javax.jdo.JDOException
javax.jdo.JDOException - If errors are encountered while initialising
NonTransactionalJDOApplication.persistenceManager.NonTransactionalJDOApplication.NonTransactionalJDOApplication()public static JDOApplication getApplication()
Application instance.protected void activated()
NonTransactionalJDOApplication.persistenceManager when this instance is about to
be activated to process a user request.activated in class ApplicationInstanceprotected void deactivating()
NonTransactionalJDOApplication.persistenceManager when this instance is about to
be deactivated from service.deactivating in class ApplicationInstance