|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.engine.ThreadLocalPageContext
public final class ThreadLocalPageContext
class to handle thread local PageContext, do use pagecontext in classes that have no method argument pagecontext
Constructor Summary | |
---|---|
ThreadLocalPageContext()
|
Method Summary | |
---|---|
static PageContext |
get()
returns pagecontext registered for the current thread |
static PageContext |
get(PageContext pc)
|
static Config |
getConfig()
|
static Config |
getConfig(Config config)
|
static Config |
getConfig(PageContext pc)
|
static Locale |
getLocale(PageContext pc)
|
static TimeZone |
getTimeZone()
|
static TimeZone |
getTimeZone(Config config)
|
static TimeZone |
getTimeZone(PageContext pc)
|
static TimeZone |
getTimeZone(TimeZone timezone)
|
static void |
register(PageContext pc)
register a pagecontext for he current thread |
static void |
release()
release the pagecontext for the current thread |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadLocalPageContext()
Method Detail |
---|
public static void register(PageContext pc)
pc
- PageContext to registerpublic static PageContext get()
public static Config getConfig()
public static void release()
public static Config getConfig(PageContext pc)
public static Config getConfig(Config config)
public static TimeZone getTimeZone(PageContext pc)
public static Locale getLocale(PageContext pc)
public static TimeZone getTimeZone(Config config)
public static TimeZone getTimeZone(TimeZone timezone)
public static TimeZone getTimeZone()
public static PageContext get(PageContext pc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |