001 // FUTURE move to loader 002 package railo.runtime.type; 003 004 import railo.runtime.PageContext; 005 006 /** 007 * scope that is used for multiple requests, attention scope can be used from muliple threads ad same state, make no internal state! 008 */ 009 public interface SharedScope extends Scope { 010 011 /** 012 * Initalize Scope only for this request, scope was already used 013 * @param pc Page Context 014 */ 015 public void touchBeforeRequest(PageContext pc); 016 017 /** 018 * release scope only for current request, scope will be used again 019 */ 020 public void touchAfterRequest(PageContext pc); 021 }