railo.runtime.engine
Class ThreadLocalPageSource

java.lang.Object
  extended by railo.runtime.engine.ThreadLocalPageSource

public final class ThreadLocalPageSource
extends Object

this class is just used to make the pagesource availble for old code in ra files


Constructor Summary
ThreadLocalPageSource()
           
 
Method Summary
static PageSource get()
          returns Config registered for the current thread
static void register(PageSource ps)
          register a Config 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

ThreadLocalPageSource

public ThreadLocalPageSource()
Method Detail

register

public static void register(PageSource ps)
register a Config for he current thread

Parameters:
config - Config to register

get

public static PageSource get()
returns Config registered for the current thread

Returns:
Config for the current thread or null

release

public static void release()
release the pagecontext for the current thread



Copyright © 2012 Railo