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
_ctx
protected PersistenceType
_persistence
protected String
_persistenceFrequency
protected String
_persistenceScope
protected SessionManager
_smBean
protected WebBundleDescriptor
_wbd
protected WebModuleConfig
_wmInfo
protected ServerConfigLookup
serverConfigLookup
-
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 void
checkInitialization()
String
getApplicationId(WebModule ctx)
The application id for this web moduleString
getPersistenceFrequency()
protected String
getPersistenceFrequency(SessionManager smBean)
Get the persistence frequency for this web module (this is the value from sun-web.xml if definedString
getPersistenceScope()
protected String
getPersistenceScope(SessionManager smBean)
Get the persistence scope for this web module (this is the value from sun-web.xml if definedPersistenceType
getPersistenceType()
protected void
initializeConfiguration()
protected boolean
isSystemApp(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()
-
-