LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web
Class LyWebApplication

java.lang.Object
  extended by leon.app.LyApplication
      extended by leon.view.web.LyWebApplication
All Implemented Interfaces:
LyTimerClientInterface

public class LyWebApplication
extends LyApplication

The instance of an application for web viewers. This instance is created by leon.view.web.LyServlet and is used to manage a lock to avoid freeing the application before the end of a HttpRequest.

See Also:
LyApplication

Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.app.LyApplication
ARRAY_SEP, CLASS_SEP, FIELD_SEP, LABEL_SEP, NAME_SEP, VALUE_SEP, VISIBLE_ARRAY_SEP, VISIBLE_FIELD_SEP, VISIBLE_VALUE_SEP, VISIBLE_VECTOR_SEP
 
Constructor Summary
LyWebApplication(java.lang.String id, java.lang.String configFile, java.lang.String path)
          Constructor with a given id and configuration file.
LyWebApplication(java.lang.String id, java.lang.String configFile, java.lang.String path, boolean isMobile)
          Constructor with a given id and configuration file.
 
Method Summary
 int lock()
          Indicates whether the application is valid or not.
 int unlock()
          Indicates whether the application is valid or not.
 
Methods inherited from class leon.app.LyApplication
abortClosing, addDaemon, addDataProvider, addListener, addSessionListener, addValue, buildDefaultLocationId, checkProviders, close, closeAll, createCache, deleteExtraInfo, endTimer, freeDialogSessions, getAction, getActions, getActionWithId, getActionWithTemplate, getApplication, getApplicationBehavior, getApplications, getClassInfo, getClassInfos, getClassInfosFromBinding, getClassLoader, getContextManager, getCurrentContext, getCurrentEvaluator, getCurrentInstance, getCurrentSession, getDaemon, getDaemon, getDataProvider, getDataProviderCount, getDataSource, getDataSource, getDefaultLocationId, getEnvironment, getError, getEventManager, getId, getInfo, getInfoApplication, getInfoList, getInfoProvider, getInfos, getLocalDataProvider, getObjectSource, getParent, getPrefDataProvider, getPriorityLevel, getProject, getRootApplication, getSession, getSession, getSessionCount, getSessions, getSQLDataProvider, getSubApplication, getSubApplicationCount, getSubApplications, getSupportedLanguages, getSupportedTimeZones, getTag, getTags, getTransactionManager, getValue, hasParent, hasTransaction, isClosing, isEdited, isIdle, isSleeping, isValid, isWaitingForClosing, loadClass, loadClass, loadClasses, loadData, loadData, loadExtraInfos, loadExtraInfosFromDB, loadProject, parse, parseExtraFiles, putApplication, putDataSource, putInfo, putTag, reloadData, removeAll, removeApplication, removeDataSource, removeInfo, removeListener, removeSessionListener, removeTag, saveData, saveExtraInfo, saveExtraInfo, setClassLoader, setCurrentContext, setCurrentEvaluator, setCurrentInstance, setCurrentSession, setDataProviderLocation, setDefaultLocationId, setError, setIdle, sleep, start, unloadData, validateClasses, wakeUp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyWebApplication

public LyWebApplication(java.lang.String id,
                        java.lang.String configFile,
                        java.lang.String path)
Constructor with a given id and configuration file.

Parameters:
id - The identifier of the application.
configFile - The configuration file of the application.
path - The initial path for the application .

LyWebApplication

public LyWebApplication(java.lang.String id,
                        java.lang.String configFile,
                        java.lang.String path,
                        boolean isMobile)
Constructor with a given id and configuration file.

Parameters:
id - The identifier of the application.
configFile - The configuration file of the application.
path - The initial path for the application .
Method Detail

lock

public int lock()
Indicates whether the application is valid or not.

Returns:
true if the application is valid, false otherwise.

unlock

public int unlock()
Indicates whether the application is valid or not.

Returns:
true if the application is valid, false otherwise.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com