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