Package com.sun.enterprise.web
Class SessionManagerConfigurationHelper
- java.lang.Object
-
- com.sun.enterprise.web.SessionManagerConfigurationHelper
-
public class SessionManagerConfigurationHelper extends Object
- Author:
- lwhite, Rajiv Mordani
-
-
Field Summary
Fields Modifier and Type Field Description protected WebModule_ctxprotected PersistenceType_persistenceprotected String_persistenceFrequencyprotected String_persistenceScopeprotected SessionManager_smBeanprotected WebBundleDescriptor_wbdprotected WebModuleConfig_wmInfoprotected ServerConfigLookupserverConfigLookup
-
Constructor Summary
Constructors Constructor Description SessionManagerConfigurationHelper(WebModule ctx, SessionManager smBean, WebBundleDescriptor wbd, WebModuleConfig wmInfo, ServerConfigLookup serverConfigLookup)Creates a new instance of SessionManagerConfigurationHelper
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckInitialization()StringgetApplicationId(WebModule ctx)The application id for this web moduleStringgetPersistenceFrequency()protected StringgetPersistenceFrequency(SessionManager smBean)Get the persistence frequency for this web module (this is the value from sun-web.xml if definedStringgetPersistenceScope()protected StringgetPersistenceScope(SessionManager smBean)Get the persistence scope for this web module (this is the value from sun-web.xml if definedPersistenceTypegetPersistenceType()protected voidinitializeConfiguration()protected booleanisSystemApp(String appName)
-
-
-
Field Detail
-
_ctx
protected WebModule _ctx
-
_smBean
protected SessionManager _smBean
-
_wbd
protected WebBundleDescriptor _wbd
-
_wmInfo
protected WebModuleConfig _wmInfo
-
_persistence
protected PersistenceType _persistence
-
_persistenceFrequency
protected String _persistenceFrequency
-
_persistenceScope
protected String _persistenceScope
-
serverConfigLookup
protected ServerConfigLookup serverConfigLookup
-
-
Constructor Detail
-
SessionManagerConfigurationHelper
public SessionManagerConfigurationHelper(WebModule ctx, SessionManager smBean, WebBundleDescriptor wbd, WebModuleConfig wmInfo, ServerConfigLookup serverConfigLookup)
Creates a new instance of SessionManagerConfigurationHelper
-
-
Method Detail
-
isSystemApp
protected boolean isSystemApp(String appName)
-
initializeConfiguration
protected void initializeConfiguration()
-
getApplicationId
public String getApplicationId(WebModule ctx)
The application id for this web module
-
getPersistenceFrequency
protected String getPersistenceFrequency(SessionManager smBean)
Get the persistence frequency for this web module (this is the value from sun-web.xml if defined- Parameters:
smBean- the session manager config bean
-
getPersistenceScope
protected String getPersistenceScope(SessionManager smBean)
Get the persistence scope for this web module (this is the value from sun-web.xml if defined- Parameters:
smBean- the session manager config bean
-
checkInitialization
protected void checkInitialization()
-
getPersistenceType
public PersistenceType getPersistenceType()
-
getPersistenceFrequency
public String getPersistenceFrequency()
-
getPersistenceScope
public String getPersistenceScope()
-
-