com.sun.enterprise.web
Class SessionManagerConfigurationHelper

java.lang.Object
  extended by com.sun.enterprise.web.SessionManagerConfigurationHelper

public class SessionManagerConfigurationHelper
extends java.lang.Object

Author:
lwhite, Rajiv Mordani

Field Summary
protected  WebModule _ctx
           
protected static java.util.logging.Logger _logger
           
protected  PersistenceType _persistence
           
protected  java.lang.String _persistenceFrequency
           
protected  java.lang.String _persistenceScope
           
protected  SessionManager _smBean
           
protected  WebBundleDescriptor _wbd
           
protected  WebModuleConfig _wmInfo
           
protected  ServerConfigLookup serverConfigLookup
           
 
Constructor Summary
SessionManagerConfigurationHelper(WebModule ctx, SessionManager smBean, WebBundleDescriptor wbd, WebModuleConfig wmInfo, ServerConfigLookup serverConfigLookup)
          Creates a new instance of SessionManagerConfigurationHelper
 
Method Summary
protected  void checkInitialization()
           
 java.lang.String getApplicationId(WebModule ctx)
          The application id for this web module
 java.lang.String getPersistenceFrequency()
           
protected  java.lang.String getPersistenceFrequency(SessionManager smBean)
          Get the persistence frequency for this web module (this is the value from sun-web.xml if defined
 java.lang.String getPersistenceScope()
           
protected  java.lang.String getPersistenceScope(SessionManager smBean)
          Get the persistence scope for this web module (this is the value from sun-web.xml if defined
 PersistenceType getPersistenceType()
           
protected  void initializeConfiguration()
           
protected  boolean isSystemApp(java.lang.String appName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_logger

protected static final java.util.logging.Logger _logger

_ctx

protected WebModule _ctx

_smBean

protected SessionManager _smBean

_wbd

protected WebBundleDescriptor _wbd

_wmInfo

protected WebModuleConfig _wmInfo

_persistence

protected PersistenceType _persistence

_persistenceFrequency

protected java.lang.String _persistenceFrequency

_persistenceScope

protected java.lang.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(java.lang.String appName)

initializeConfiguration

protected void initializeConfiguration()

getApplicationId

public java.lang.String getApplicationId(WebModule ctx)
The application id for this web module


getPersistenceFrequency

protected java.lang.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 java.lang.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 java.lang.String getPersistenceFrequency()

getPersistenceScope

public java.lang.String getPersistenceScope()


Copyright © 2012 GlassFish Community. All Rights Reserved.