ariba.ui.aribaweb.core
Class AWConcreteApplication
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWConcreteServerApplication
ariba.ui.aribaweb.core.AWConcreteApplication
- All Implemented Interfaces:
- AWApplication, AWRequestDispatching, AWRequestLocking, AWServerApplication, AWCooperativeMultithreadLocking, AWLogHandling, AWObject, AWResourceManagerFactory, ShutdownDelayer
- Direct Known Subclasses:
- AWDefaultApplication, AWServletApplication
public abstract class AWConcreteApplication
- extends AWConcreteServerApplication
- implements AWApplication, ShutdownDelayer
Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject |
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber |
Method Summary |
AWComponentDefinition |
_componentDefinitionForName(java.lang.String componentName,
AWComponent component)
|
AWConcreteApplication.ComponentDefinitionResolver |
_componentDefinitionResolver()
|
void |
_setComponentDefinitionResolver(AWConcreteApplication.ComponentDefinitionResolver instance)
|
int |
activeHttpSessionCount()
|
java.lang.String |
adaptorUrl()
|
java.lang.String |
adaptorUrlSecure()
|
boolean |
allowBrandingImages()
|
boolean |
allowsJavascriptUrls()
|
boolean |
allowsStyleSheetUrls()
|
static void |
appendGenericExceptionMessageToResponse(AWResponse response,
java.lang.Throwable throwable)
|
abstract java.lang.String |
applicationUrl(AWRequest request)
|
void |
archiveHttpSession(javax.servlet.http.HttpSession httpSession)
|
void |
assertExistingSession(AWRequestContext requestContext)
|
void |
assertValidNode(AWRequestContext requestContext,
java.lang.String directActionClassName,
java.lang.String actionName)
|
void |
assertValidSession(AWRequestContext requestContext)
|
boolean |
canCacheResourceUrls()
|
void |
cancelShutdown()
Method invoked to indicate the cancelling of the shutdown sequence. |
boolean |
canShutdown()
Specifies whether the system can safely shutdown. |
void |
checkinHttpSession(javax.servlet.http.HttpSession httpSession)
|
void |
checkinHttpSessionId(java.lang.String sessionId)
|
void |
checkoutHttpSession(javax.servlet.http.HttpSession httpSession)
|
void |
checkoutHttpSessionId(java.lang.String sessionId)
This method only locks the sessionId -- do not expect it to return an HttpSession
The method signature is here for backward compatibility, but only the WOAdaptor
actually returns an HttpSession here. |
AWComponentDefinition |
componentDefinitionForName(java.lang.String componentName)
|
static AWApplication |
createApplication(java.lang.String applicationClassName,
java.lang.Class defaultClass)
|
AWBookmarker |
createBookmarker()
|
AWComponentDefinition |
createComponentDefinitionForNameAndClass(java.lang.String componentName,
java.lang.Class componentClass)
|
javax.servlet.http.HttpSession |
createHttpSession(AWRequest request)
|
AWMonitorStats |
createMonitorStats()
|
AWComponent |
createPageWithName(java.lang.String componentName,
AWRequestContext requestContext)
|
AWRequestContext |
createRequestContext(AWRequest request)
|
AWSession |
createSession(AWRequestContext requestContext)
|
java.util.Map |
customKeyValueStats()
|
static AWApplication |
defaultApplication()
|
void |
deregisterSession(AWSession session)
|
boolean |
didCompleteInit()
|
java.lang.String |
directActionClassNameForKey(java.lang.String classNameKey)
|
void |
disablePackageLevelFlag(java.lang.String packageName,
int flag)
|
AWResponse |
dispatchRequest(AWRequest request)
|
void |
enablePackageLevelFlag(java.lang.String packageName,
int flag)
|
java.lang.String |
formatUrlForResource(java.lang.String urlPrefix,
AWResource resource,
boolean forCache)
|
java.util.List |
getAllComponentDefinitions()
|
java.lang.String |
getApplicationType()
Gets the module name of the current running module. |
AWBookmarker |
getBookmarker()
|
AWBrand |
getBrand(AWRequestContext requestContext)
|
AWBrandManager |
getBrandManager()
|
AWComponentConfigurationSource |
getComponentConfigurationSource(java.lang.Class componentClass)
|
AWParameters |
getConfigParameters()
|
AWNodeManager |
getNodeManager()
|
java.lang.String |
getNodeName()
Returns the node name of the local server. |
int |
getPollInterval()
|
java.util.List |
getPreferredTimezones()
|
AWSessionStatusManager |
getSessionStatusManager()
|
static AWStaticSiteGenerator |
getStaticizer()
|
java.util.Map<java.lang.String,java.util.TimeZone> |
getTimeZoneByOffsetKeys()
|
int |
getUISessionCount()
|
java.util.List<NamedValue> |
getUISessionCountBuckets()
|
java.util.List<NamedValue> |
getUISessionStatusBuckets()
|
AWResponseGenerating |
handleComponentActionSessionValidationError(AWRequestContext requestContext,
java.lang.Exception exception)
|
AWResponseGenerating |
handleException(AWRequestContext requestContext,
java.lang.Exception exception)
|
AWHandleExceptionPage |
handleExceptionPage(AWRequestContext requestContext)
|
AWResponseGenerating |
handleMaxWindowException(AWRequestContext requestContext,
MaximumTabExceededException exception)
|
AWResponseGenerating |
handleRemoteHostMismatchException(AWRequestContext requestContext,
AWRemoteHostMismatchException exception)
|
AWResponseGenerating |
handleSessionRestorationError(AWRequestContext requestContext)
|
AWSessionRestorationErrorPage |
handleSessionRestorationErrorPage(AWRequestContext requestContext)
|
AWResponseGenerating |
handleSessionValidationError(AWRequestContext requestContext,
java.lang.Exception exception)
|
AWResponseGenerating |
handleSiteUnavailableException(AWRequestContext requestContext)
|
int |
hibernationDepth()
|
AWCheckoutManager |
httpSessionCheckoutManager()
This is private -- only public so may be accessed by test code. |
void |
incrementMarkedForTerminationSessionCount(AWSession session)
|
void |
init()
|
void |
initiateShutdown()
Method invoked to indicate the beginning of the shutdown sequence. |
void |
initRequestHandlers()
|
void |
initSessionValidator()
|
boolean |
isHttpSessionCheckedOut(java.lang.String sessionId)
|
boolean |
isPackageLevelFlagEnabled(java.lang.String packageName,
int flag)
|
boolean |
isValidRemoteHost(AWRequest request)
|
void |
logActionMessage(java.lang.String actionLogMessage)
|
void |
logRequestMessage(java.lang.String requestLogMessage)
|
void |
logResponseMessage(java.lang.String responseLogMessage)
|
AWResponseGenerating |
mainPage(AWRequestContext requestContext)
|
java.lang.String |
mainPageName()
|
AWResponseGenerating |
monitorSessionStatsPage(AWRequestContext requestContext)
|
AWMonitorStats |
monitorStats()
|
int |
pageCacheSize()
|
java.util.List |
preinstantiateAllComponents(boolean instantiateDefinitions,
AWRequestContext requestContext)
returns a vector of AWTemplates |
java.util.List |
preloadAllTemplates()
|
java.lang.String |
refuseNewSessionsPassword()
|
static void |
registerApplicationType(java.lang.String applicationType)
Sets the module name of the current running module. |
void |
registerComponentConfigurationSource(java.lang.Class componentClass,
AWComponentConfigurationSource source)
|
void |
registerDidInitCallback(AWConcreteApplication.DidInitCallback callback)
|
void |
registerSession(AWSession session)
|
AWConcreteApplication.RequestURLInfo |
requestUrlInfo(java.lang.String url)
|
javax.servlet.http.HttpSession |
restoreHttpSession(AWRequest request,
java.lang.String sessionId)
|
int |
sessionTimeout()
|
void |
setMainPageName(java.lang.String name)
|
void |
setPageCacheSize(int intValue)
|
void |
setRefuseNewSessionsPassword(java.lang.String refuseNewSessionsPassword)
|
void |
setRefusingNewSessions(boolean refusingNewSessions)
|
void |
setSessionTimeout(int seconds)
|
void |
setSessionValidator(AWSessionValidator validator)
|
static void |
setStaticizer(AWStaticSiteGenerator staticizer)
|
void |
setTerminateApplicationPassword(java.lang.String terminateApplicationPassword)
|
void |
setUseEmbeddedKeyPathes(boolean useEmbeddedKeyPathes)
|
static AWServerApplication |
sharedInstance()
|
void |
sweepExpiredObjects()
|
void |
terminate()
|
java.lang.String |
terminateApplicationPassword()
|
void |
timeoutForObject(java.lang.Object o)
|
boolean |
useEmbeddedKeyPathes()
|
boolean |
useServletEnginesSession()
|
void |
validateRequest(AWRequestContext requestContext)
|
abstract java.lang.String |
webserverDocumentRootPath()
|
Methods inherited from class ariba.ui.aribaweb.core.AWConcreteServerApplication |
_debugSearchPaths, allowsConcurrentRequestHandling, createRequest, createResourceManager, createResourceManager, createResponse, createResponse, createTemplateResourceManager, debugString, defaultPerformanceCheck, defaultRequestHandler, deploymentRootDirectory, flushResourceManager, getAribaUserCommunityUrl, getFoldInSituWindowSize, handleGarbageCollectionIssues, handleMalformedRequest, handleMalformedRequest, initializeForJarApplication, initIsRapidTurnaroundEnabled, initIsStatisticsGatheringEnabled, initResourceUrl, isDebuggingEnabled, isRapidTurnaroundEnabled, isStateValidationEnabled, isStatisticsGatheringEnabled, isUserCommunityEnabled, lockRequestHandlingForRequest, logString, name, registerDebugSearchPath, registerRequestHandlerForKey, relockRequestHandling, requestHandlerForKey, requiresThreadSafety, resourceManager, resourceManager, resourceUrl, setDefaultRequestHandler, setName, setSharedInstance, temporarilyUnlockRequestHandling, unlockRequestHandlingForRequest |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ariba.ui.aribaweb.core.AWServerApplication |
createRequest, createResourceManager, createResourceManager, createResponse, createResponse, createTemplateResourceManager, debugString, defaultRequestHandler, deploymentRootDirectory, flushResourceManager, getStringLocalizer, handleGarbageCollectionIssues, handleMalformedRequest, handleMalformedRequest, initIsRapidTurnaroundEnabled, isDebuggingEnabled, isRapidTurnaroundEnabled, isStatisticsGatheringEnabled, logString, name, registerRequestHandlerForKey, requestHandlerForKey, requiresThreadSafety, resourceManager, resourceManager, setDefaultRequestHandler, setName |
RetryKey
public static final java.lang.String RetryKey
- See Also:
- Constant Field Values
ComponentActionRequestHandlerKey
public static final java.lang.String ComponentActionRequestHandlerKey
- See Also:
- Constant Field Values
DirectActionRequestHandlerKey
public static final java.lang.String DirectActionRequestHandlerKey
- See Also:
- Constant Field Values
IsActionLoggingEnabled
public static boolean IsActionLoggingEnabled
IsRequestLoggingEnabled
public static boolean IsRequestLoggingEnabled
IsResponseLoggingEnabled
public static boolean IsResponseLoggingEnabled
IsDirectConnectEnabled
public static boolean IsDirectConnectEnabled
IsCookieSessionTrackingEnabled
public static boolean IsCookieSessionTrackingEnabled
RemoteHostMask
public static int RemoteHostMask
DefaultComponentClass
public static java.lang.Class DefaultComponentClass
DefaultAWLStringsSuffix
public static final java.lang.String DefaultAWLStringsSuffix
- See Also:
- Constant Field Values
DefaultJavaStringsSuffix
public static final java.lang.String DefaultJavaStringsSuffix
- See Also:
- Constant Field Values
DefaultPackageStringsSuffix
public static final java.lang.String DefaultPackageStringsSuffix
- See Also:
- Constant Field Values
TemplateValidationFlag
public static final int TemplateValidationFlag
- See Also:
- Constant Field Values
StrictTagNamingFlag
public static final int StrictTagNamingFlag
- See Also:
- Constant Field Values
AllowGlidEnhancementsFlag
public static final int AllowGlidEnhancementsFlag
- See Also:
- Constant Field Values
IsTemplateValidationDefaultVisible
public static boolean IsTemplateValidationDefaultVisible
IsSessionManagementEnabled
public static boolean IsSessionManagementEnabled
IsNotificationEnabled
public static boolean IsNotificationEnabled
SAFE_TAGS_FILE
public static final java.lang.String SAFE_TAGS_FILE
- See Also:
- Constant Field Values
SAFE_ATTRS_FILE
public static final java.lang.String SAFE_ATTRS_FILE
- See Also:
- Constant Field Values
UseServletEnginesSession
public static boolean UseServletEnginesSession
AWConcreteApplication
public AWConcreteApplication()
defaultApplication
public static AWApplication defaultApplication()
createApplication
public static AWApplication createApplication(java.lang.String applicationClassName,
java.lang.Class defaultClass)
getApplicationType
public java.lang.String getApplicationType()
- Gets the module name of the current running module.
- Specified by:
getApplicationType
in interface AWApplication
- Returns:
- the module name.
registerApplicationType
public static void registerApplicationType(java.lang.String applicationType)
- Sets the module name of the current running module.
didCompleteInit
public boolean didCompleteInit()
registerDidInitCallback
public void registerDidInitCallback(AWConcreteApplication.DidInitCallback callback)
isValidRemoteHost
public boolean isValidRemoteHost(AWRequest request)
- Specified by:
isValidRemoteHost
in interface AWApplication
initRequestHandlers
public void initRequestHandlers()
- Specified by:
initRequestHandlers
in interface AWServerApplication
- Specified by:
initRequestHandlers
in class AWConcreteServerApplication
init
public void init()
- Specified by:
init
in interface AWObject
- Overrides:
init
in class AWConcreteServerApplication
sharedInstance
public static AWServerApplication sharedInstance()
httpSessionCheckoutManager
public AWCheckoutManager httpSessionCheckoutManager()
- This is private -- only public so may be accessed by test code.
setPageCacheSize
public void setPageCacheSize(int intValue)
- Specified by:
setPageCacheSize
in interface AWApplication
pageCacheSize
public int pageCacheSize()
- Specified by:
pageCacheSize
in interface AWApplication
setSessionTimeout
public void setSessionTimeout(int seconds)
sessionTimeout
public int sessionTimeout()
- Specified by:
sessionTimeout
in interface AWApplication
webserverDocumentRootPath
public abstract java.lang.String webserverDocumentRootPath()
- Specified by:
webserverDocumentRootPath
in interface AWApplication
adaptorUrl
public java.lang.String adaptorUrl()
- Specified by:
adaptorUrl
in interface AWApplication
adaptorUrlSecure
public java.lang.String adaptorUrlSecure()
- Specified by:
adaptorUrlSecure
in interface AWApplication
requestUrlInfo
public AWConcreteApplication.RequestURLInfo requestUrlInfo(java.lang.String url)
setUseEmbeddedKeyPathes
public void setUseEmbeddedKeyPathes(boolean useEmbeddedKeyPathes)
- Specified by:
setUseEmbeddedKeyPathes
in interface AWApplication
useEmbeddedKeyPathes
public boolean useEmbeddedKeyPathes()
- Specified by:
useEmbeddedKeyPathes
in interface AWApplication
getPreferredTimezones
public java.util.List getPreferredTimezones()
getTimeZoneByOffsetKeys
public java.util.Map<java.lang.String,java.util.TimeZone> getTimeZoneByOffsetKeys()
createPageWithName
public AWComponent createPageWithName(java.lang.String componentName,
AWRequestContext requestContext)
- Specified by:
createPageWithName
in interface AWApplication
setMainPageName
public void setMainPageName(java.lang.String name)
mainPageName
public java.lang.String mainPageName()
- Specified by:
mainPageName
in interface AWApplication
mainPage
public AWResponseGenerating mainPage(AWRequestContext requestContext)
- Specified by:
mainPage
in interface AWApplication
createSession
public AWSession createSession(AWRequestContext requestContext)
- Specified by:
createSession
in interface AWApplication
restoreHttpSession
public javax.servlet.http.HttpSession restoreHttpSession(AWRequest request,
java.lang.String sessionId)
- Specified by:
restoreHttpSession
in interface AWApplication
archiveHttpSession
public void archiveHttpSession(javax.servlet.http.HttpSession httpSession)
- Specified by:
archiveHttpSession
in interface AWApplication
checkinHttpSessionId
public void checkinHttpSessionId(java.lang.String sessionId)
- Specified by:
checkinHttpSessionId
in interface AWApplication
checkoutHttpSessionId
public void checkoutHttpSessionId(java.lang.String sessionId)
- This method only locks the sessionId -- do not expect it to return an HttpSession
The method signature is here for backward compatibility, but only the WOAdaptor
actually returns an HttpSession here.
- Specified by:
checkoutHttpSessionId
in interface AWApplication
createHttpSession
public javax.servlet.http.HttpSession createHttpSession(AWRequest request)
- Specified by:
createHttpSession
in interface AWApplication
activeHttpSessionCount
public int activeHttpSessionCount()
- Specified by:
activeHttpSessionCount
in interface AWApplication
isHttpSessionCheckedOut
public boolean isHttpSessionCheckedOut(java.lang.String sessionId)
- Specified by:
isHttpSessionCheckedOut
in interface AWApplication
terminate
public void terminate()
- Specified by:
terminate
in interface AWApplication
setTerminateApplicationPassword
public void setTerminateApplicationPassword(java.lang.String terminateApplicationPassword)
- Specified by:
setTerminateApplicationPassword
in interface AWApplication
terminateApplicationPassword
public java.lang.String terminateApplicationPassword()
- Specified by:
terminateApplicationPassword
in interface AWApplication
registerSession
public void registerSession(AWSession session)
- Specified by:
registerSession
in interface AWApplication
deregisterSession
public void deregisterSession(AWSession session)
- Specified by:
deregisterSession
in interface AWApplication
incrementMarkedForTerminationSessionCount
public void incrementMarkedForTerminationSessionCount(AWSession session)
getSessionStatusManager
public AWSessionStatusManager getSessionStatusManager()
- Specified by:
getSessionStatusManager
in interface AWApplication
monitorSessionStatsPage
public AWResponseGenerating monitorSessionStatsPage(AWRequestContext requestContext)
- Specified by:
monitorSessionStatsPage
in interface AWApplication
createRequestContext
public AWRequestContext createRequestContext(AWRequest request)
- Specified by:
createRequestContext
in interface AWApplication
handleExceptionPage
public AWHandleExceptionPage handleExceptionPage(AWRequestContext requestContext)
handleException
public AWResponseGenerating handleException(AWRequestContext requestContext,
java.lang.Exception exception)
- Specified by:
handleException
in interface AWApplication
appendGenericExceptionMessageToResponse
public static void appendGenericExceptionMessageToResponse(AWResponse response,
java.lang.Throwable throwable)
handleSessionRestorationErrorPage
public AWSessionRestorationErrorPage handleSessionRestorationErrorPage(AWRequestContext requestContext)
handleSessionRestorationError
public AWResponseGenerating handleSessionRestorationError(AWRequestContext requestContext)
- Specified by:
handleSessionRestorationError
in interface AWApplication
handleComponentActionSessionValidationError
public AWResponseGenerating handleComponentActionSessionValidationError(AWRequestContext requestContext,
java.lang.Exception exception)
- Specified by:
handleComponentActionSessionValidationError
in interface AWApplication
handleSiteUnavailableException
public AWResponseGenerating handleSiteUnavailableException(AWRequestContext requestContext)
- Specified by:
handleSiteUnavailableException
in interface AWApplication
handleRemoteHostMismatchException
public AWResponseGenerating handleRemoteHostMismatchException(AWRequestContext requestContext,
AWRemoteHostMismatchException exception)
- Specified by:
handleRemoteHostMismatchException
in interface AWApplication
handleMaxWindowException
public AWResponseGenerating handleMaxWindowException(AWRequestContext requestContext,
MaximumTabExceededException exception)
- Specified by:
handleMaxWindowException
in interface AWApplication
handleSessionValidationError
public AWResponseGenerating handleSessionValidationError(AWRequestContext requestContext,
java.lang.Exception exception)
- Specified by:
handleSessionValidationError
in interface AWApplication
dispatchRequest
public AWResponse dispatchRequest(AWRequest request)
- Specified by:
dispatchRequest
in interface AWRequestDispatching
- Overrides:
dispatchRequest
in class AWConcreteServerApplication
setRefusingNewSessions
public void setRefusingNewSessions(boolean refusingNewSessions)
- Specified by:
setRefusingNewSessions
in interface AWApplication
setRefuseNewSessionsPassword
public void setRefuseNewSessionsPassword(java.lang.String refuseNewSessionsPassword)
- Specified by:
setRefuseNewSessionsPassword
in interface AWApplication
refuseNewSessionsPassword
public java.lang.String refuseNewSessionsPassword()
- Specified by:
refuseNewSessionsPassword
in interface AWApplication
applicationUrl
public abstract java.lang.String applicationUrl(AWRequest request)
- Specified by:
applicationUrl
in interface AWApplication
directActionClassNameForKey
public java.lang.String directActionClassNameForKey(java.lang.String classNameKey)
- Specified by:
directActionClassNameForKey
in interface AWApplication
hibernationDepth
public int hibernationDepth()
- Specified by:
hibernationDepth
in interface AWApplication
initiateShutdown
public void initiateShutdown()
- Description copied from interface:
ShutdownDelayer
- Method invoked to indicate the beginning of the shutdown sequence.
This is being called by the ShutdownManager, when an asynchronous shutdown is
requested. Within this call, the application starts stopping some functionalities
(for instance, new new user can login on this server)
If any exception is being thrown, the delayer will be removed from the sequence.
- Specified by:
initiateShutdown
in interface AWApplication
- Specified by:
initiateShutdown
in interface ShutdownDelayer
canShutdown
public boolean canShutdown()
- Description copied from interface:
ShutdownDelayer
- Specifies whether the system can safely shutdown.
This is being called on a regular basis by the ShutdownManager to determine whether
we can exit the VM.
If any exception is being thrown, the delayer will be removed from the sequence.
- Specified by:
canShutdown
in interface ShutdownDelayer
- Returns:
true
if the system can shutdown
getUISessionCount
public int getUISessionCount()
getUISessionCountBuckets
public java.util.List<NamedValue> getUISessionCountBuckets()
getUISessionStatusBuckets
public java.util.List<NamedValue> getUISessionStatusBuckets()
cancelShutdown
public void cancelShutdown()
- Description copied from interface:
ShutdownDelayer
- Method invoked to indicate the cancelling of the shutdown sequence.
This method is called by the ShutdownManager, when an asynchronous shutdown is
cancelled. Within this call, the application should reverse the actions
it took in initiateShutdown.
The most common reason for cancelling a shutdown is the start of a rolling
upgrade or rolling restart where the Ops code determines when each node is
shutdown.
If any exception is being thrown, the delayer will be removed from the sequence.
- Specified by:
cancelShutdown
in interface ShutdownDelayer
createComponentDefinitionForNameAndClass
public AWComponentDefinition createComponentDefinitionForNameAndClass(java.lang.String componentName,
java.lang.Class componentClass)
- Specified by:
createComponentDefinitionForNameAndClass
in interface AWApplication
componentDefinitionForName
public AWComponentDefinition componentDefinitionForName(java.lang.String componentName)
- Specified by:
componentDefinitionForName
in interface AWApplication
preloadAllTemplates
public java.util.List preloadAllTemplates()
preinstantiateAllComponents
public java.util.List preinstantiateAllComponents(boolean instantiateDefinitions,
AWRequestContext requestContext)
- returns a vector of AWTemplates
getAllComponentDefinitions
public java.util.List getAllComponentDefinitions()
_componentDefinitionResolver
public AWConcreteApplication.ComponentDefinitionResolver _componentDefinitionResolver()
_setComponentDefinitionResolver
public void _setComponentDefinitionResolver(AWConcreteApplication.ComponentDefinitionResolver instance)
_componentDefinitionForName
public AWComponentDefinition _componentDefinitionForName(java.lang.String componentName,
AWComponent component)
createBookmarker
public AWBookmarker createBookmarker()
getBookmarker
public AWBookmarker getBookmarker()
createMonitorStats
public AWMonitorStats createMonitorStats()
monitorStats
public AWMonitorStats monitorStats()
- Specified by:
monitorStats
in interface AWApplication
customKeyValueStats
public java.util.Map customKeyValueStats()
- Specified by:
customKeyValueStats
in interface AWApplication
logActionMessage
public void logActionMessage(java.lang.String actionLogMessage)
- Specified by:
logActionMessage
in interface AWApplication
logRequestMessage
public void logRequestMessage(java.lang.String requestLogMessage)
logResponseMessage
public void logResponseMessage(java.lang.String responseLogMessage)
allowsJavascriptUrls
public boolean allowsJavascriptUrls()
allowsStyleSheetUrls
public boolean allowsStyleSheetUrls()
allowBrandingImages
public boolean allowBrandingImages()
isPackageLevelFlagEnabled
public boolean isPackageLevelFlagEnabled(java.lang.String packageName,
int flag)
enablePackageLevelFlag
public void enablePackageLevelFlag(java.lang.String packageName,
int flag)
disablePackageLevelFlag
public void disablePackageLevelFlag(java.lang.String packageName,
int flag)
setSessionValidator
public void setSessionValidator(AWSessionValidator validator)
- Specified by:
setSessionValidator
in interface AWApplication
assertExistingSession
public void assertExistingSession(AWRequestContext requestContext)
- Specified by:
assertExistingSession
in interface AWApplication
assertValidSession
public void assertValidSession(AWRequestContext requestContext)
- Specified by:
assertValidSession
in interface AWApplication
initSessionValidator
public void initSessionValidator()
getNodeManager
public AWNodeManager getNodeManager()
- Specified by:
getNodeManager
in interface AWApplication
assertValidNode
public void assertValidNode(AWRequestContext requestContext,
java.lang.String directActionClassName,
java.lang.String actionName)
- Specified by:
assertValidNode
in interface AWApplication
getNodeName
public java.lang.String getNodeName()
- Description copied from interface:
AWApplication
- Returns the node name of the local server.
- Specified by:
getNodeName
in interface AWApplication
- Returns:
- name of the local node
validateRequest
public void validateRequest(AWRequestContext requestContext)
- Specified by:
validateRequest
in interface AWApplication
getBrandManager
public AWBrandManager getBrandManager()
- Specified by:
getBrandManager
in interface AWApplication
getBrand
public AWBrand getBrand(AWRequestContext requestContext)
- Specified by:
getBrand
in interface AWApplication
registerComponentConfigurationSource
public void registerComponentConfigurationSource(java.lang.Class componentClass,
AWComponentConfigurationSource source)
- Specified by:
registerComponentConfigurationSource
in interface AWApplication
getComponentConfigurationSource
public AWComponentConfigurationSource getComponentConfigurationSource(java.lang.Class componentClass)
- Specified by:
getComponentConfigurationSource
in interface AWApplication
getConfigParameters
public AWParameters getConfigParameters()
- Specified by:
getConfigParameters
in interface AWApplication
getPollInterval
public int getPollInterval()
- Specified by:
getPollInterval
in interface AWApplication
getStaticizer
public static AWStaticSiteGenerator getStaticizer()
setStaticizer
public static void setStaticizer(AWStaticSiteGenerator staticizer)
formatUrlForResource
public java.lang.String formatUrlForResource(java.lang.String urlPrefix,
AWResource resource,
boolean forCache)
canCacheResourceUrls
public boolean canCacheResourceUrls()
sweepExpiredObjects
public void sweepExpiredObjects()
- Specified by:
sweepExpiredObjects
in interface AWApplication
timeoutForObject
public void timeoutForObject(java.lang.Object o)
- Specified by:
timeoutForObject
in interface AWApplication
checkoutHttpSession
public void checkoutHttpSession(javax.servlet.http.HttpSession httpSession)
- Specified by:
checkoutHttpSession
in interface AWApplication
checkinHttpSession
public void checkinHttpSession(javax.servlet.http.HttpSession httpSession)
- Specified by:
checkinHttpSession
in interface AWApplication
useServletEnginesSession
public boolean useServletEnginesSession()
- Specified by:
useServletEnginesSession
in interface AWApplication
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.