Package de.uplanet.lucy.server.binding
Interface IBindingContext
-
- All Superinterfaces:
de.uplanet.lucy.server.binding.IBindingCache
public interface IBindingContext extends de.uplanet.lucy.server.binding.IBindingCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.context.ApplicationContext
getApplicationContext()
IDatabaseProcessingContext
getDatabaseProcessingContext()
IHttpProcessingContext
getHttpProcessingContext()
IProcessingContext
getProcessingContext()
IRequestProcessingContext
getRequestProcessingContext()
ISessionProcessingContext
getSessionProcessingContext()
ISharedStateProcessingContext
getSharedStateProcessingContext()
TimeZone
getTimeZone()
org.apache.velocity.VelocityContext
getVelocityContext()
boolean
isApplicationContextAvailable()
boolean
isDatabaseProcessingContextAvailable()
boolean
isHttpProcessingContextAvailable()
boolean
isRequestProcessingContextAvailable()
boolean
isSessionProcessingAvailable()
boolean
isSharedStateProcessingContextAvailable()
boolean
isVelocityContextAvailable()
-
-
-
Method Detail
-
getProcessingContext
IProcessingContext getProcessingContext()
- Returns:
- Returns the processing Context (not
null
).
-
getRequestProcessingContext
IRequestProcessingContext getRequestProcessingContext()
- Returns:
- Returns the request processing context. Could be
null
if no request context available.
-
isDatabaseProcessingContextAvailable
boolean isDatabaseProcessingContextAvailable()
- Returns:
- Returns
true
if the database processing context is available otherwisefalse
-
getDatabaseProcessingContext
IDatabaseProcessingContext getDatabaseProcessingContext()
- Returns:
- Returns the database processing context. Could be
null
if no database context available.
-
isRequestProcessingContextAvailable
boolean isRequestProcessingContextAvailable()
- Returns:
- Returns
true
if the request processing context is available otherwisefalse
.
-
isSessionProcessingAvailable
boolean isSessionProcessingAvailable()
- Returns:
- Returns
true
if the session processing context is available otherwisefalse
.
-
getSessionProcessingContext
ISessionProcessingContext getSessionProcessingContext()
- Returns:
- Returns the session processing context. Could be
null
if no session context available.
-
getSharedStateProcessingContext
ISharedStateProcessingContext getSharedStateProcessingContext()
- Returns:
- Returns the shared state context. Could be
null
if no shared state context available.
-
isSharedStateProcessingContextAvailable
boolean isSharedStateProcessingContextAvailable()
- Returns:
- Returns
true
if the shared state context is available otherwisefalse
.
-
getHttpProcessingContext
IHttpProcessingContext getHttpProcessingContext()
- Returns:
- Returns the HTTP processing context. Could be
null
if no HTTP processing context is available.
-
isHttpProcessingContextAvailable
boolean isHttpProcessingContextAvailable()
- Returns:
- Returns
true
if the HTTP processing context is available otherwisefalse
.
-
isApplicationContextAvailable
boolean isApplicationContextAvailable()
- Returns:
- Returns
true
if the application context is available otherwisefalse
.
-
getApplicationContext
org.springframework.context.ApplicationContext getApplicationContext()
- Returns:
- Returns the application context or
null
if not application context is available.
-
isVelocityContextAvailable
boolean isVelocityContextAvailable()
- Returns:
- Returns
true
if the velocity context is available otherwisefalse
.
-
getVelocityContext
org.apache.velocity.VelocityContext getVelocityContext()
- Returns:
- Returns the application context or
null
if not application context is available.
-
getTimeZone
TimeZone getTimeZone()
- Returns:
- Returns the current user time zone. If no current user is available UTC will returned.
-
-