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()
de.uplanet.lucy.server.IDatabaseProcessingContext
getDatabaseProcessingContext()
de.uplanet.lucy.server.engine.http.IHttpProcessingContext
getHttpProcessingContext()
de.uplanet.lucy.server.IProcessingContext
getProcessingContext()
de.uplanet.lucy.server.connector.IRequestProcessingContext
getRequestProcessingContext()
de.uplanet.lucy.server.ISessionProcessingContext
getSessionProcessingContext()
de.uplanet.lucy.server.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
de.uplanet.lucy.server.IProcessingContext getProcessingContext()
- Returns:
- Returns the processing Context (not
null
).
-
getRequestProcessingContext
de.uplanet.lucy.server.connector.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
de.uplanet.lucy.server.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
de.uplanet.lucy.server.ISessionProcessingContext getSessionProcessingContext()
- Returns:
- Returns the session processing context. Could be
null
if no session context available.
-
getSharedStateProcessingContext
de.uplanet.lucy.server.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
de.uplanet.lucy.server.engine.http.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.
-
-