888990919293949596
// Remove the cache from context and clear the cache Cache cache = (Cache)context.getAttribute(Constants.JSPTAG_CACHE_KEY); if (cache != null) { context.removeAttribute(Constants.JSPTAG_CACHE_KEY); cache.clear(); } } }
103104105106107108109110111
// Clear the cache ServletRequest req = sre.getServletRequest(); Cache cache = (Cache) req.getAttribute(Constants.JSPTAG_CACHE_KEY); if (cache != null) { cache.clear(); } } }
101102103104105106107108109
// Clear the cache HttpSession session = hse.getSession(); Cache cache = (Cache)session.getAttribute(Constants.JSPTAG_CACHE_KEY); if (cache != null) { cache.clear(); } } }
125126127128129130131132133134135
if (_debugLog) _logger.fine("FlushTag: clear ["+ key +"]"); } else { // clear the entire cache cache.clear(); if (_debugLog) _logger.fine("FlushTag: clear cache"); }
111112113114115116117118119120121
if (_logger.isLoggable(Level.FINE)) _logger.log(Level.FINE, FLUSH_TAG_CLEAR_KEY, key); } else { // clear the entire cache cache.clear(); if (_logger.isLoggable(Level.FINE)) _logger.log(Level.FINE, FLUSH_TAG_CLEAR_CACHE); }
9293949596979899100
107108109110111112113114115
105106107108109110111112113
107108109110111112113114115116117
if (_logger.isLoggable(Level.FINE)) _logger.fine("FlushTag: clear ["+ key +"]"); } else { // clear the entire cache cache.clear(); if (_logger.isLoggable(Level.FINE)) _logger.fine("FlushTag: clear cache"); }