@SuppressWarnings("unchecked")
    private Map<String, CmsTemplateContext> getContextMap() {

        Object cachedObj = m_cache.getCachedObject(m_cms, getConfigurationPropertyPath());
        if (cachedObj != null) {
            return (Map<String, CmsTemplateContext>)cachedObj;
        } else {
            try {
                Map<String, CmsTemplateContext> map = initMap();
                m_cache.putCachedObject(m_cms, getConfigurationPropertyPath(), map);
                return map;
            } catch (Exception e) {
                LOG.error(e.getLocalizedMessage(), e);
                return Collections.emptyMap();
            }
        }

    }
@ SuppressWarnings ( "unchecked" ) private Map < String , CmsTemplateContext > getContextMap ( ) { Object cachedObj = m_cache . getCachedObject ( m_cms , getConfigurationPropertyPath ( ) ) ; if ( cachedObj != null ) { return ( Map < String , CmsTemplateContext > ) cachedObj ; } else { try { Map < String , CmsTemplateContext > map = initMap ( ) ; m_cache . putCachedObject ( m_cms , getConfigurationPropertyPath ( ) , map ) ; return map ; } catch ( Exception e ) { LOG . error ( e . getLocalizedMessage ( ) , e ) ; return Collections . emptyMap ( ) ; } } }
Gets the context map, either from a cache or from the VFS if it'S not already cached.<p>

@return the context map