Package org.apache.myfaces.resource
Class ResourceHandlerCache
- java.lang.Object
-
- org.apache.myfaces.resource.ResourceHandlerCache
-
public class ResourceHandlerCache extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceHandlerCache.ResourceKeystatic classResourceHandlerCache.ResourceValue
-
Constructor Summary
Constructors Constructor Description ResourceHandlerCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfirmLibraryExists(String libraryName)voidconfirmLibraryNotExists(String libraryName)booleancontainsResource(String resourceId)booleancontainsResource(String resourceId, String contractName)booleancontainsResource(String resourceName, String libraryName, String contentType, String localePrefix)booleancontainsResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName)booleancontainsViewResource(String resourceName, String contentType, String localePrefix)booleancontainsViewResource(String resourceName, String contentType, String localePrefix, String contractName)ResourceHandlerCache.ResourceValuegetResource(String resourceId)ResourceHandlerCache.ResourceValuegetResource(String resourceId, String contractName)ResourceHandlerCache.ResourceValuegetResource(String resourceName, String libraryName, String contentType, String localePrefix)ResourceHandlerCache.ResourceValuegetResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName)ResourceHandlerCache.ResourceValuegetViewResource(String resourceName, String contentType, String localePrefix)ResourceHandlerCache.ResourceValuegetViewResource(String resourceName, String contentType, String localePrefix, String contractName)booleanisResourceHandlerCacheEnabled()BooleanlibraryExists(String libraryName)voidputResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)voidputResource(String resourceName, String libraryName, String contentType, String localePrefix, ResourceMeta resource, ResourceLoader loader)voidputResource(String resourceId, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)voidputViewResource(String resourceName, String contentType, String localePrefix, String contractName, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)voidputViewResource(String resourceName, String contentType, String localePrefix, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)
-
-
-
Method Detail
-
isResourceHandlerCacheEnabled
public boolean isResourceHandlerCacheEnabled()
-
getResource
public ResourceHandlerCache.ResourceValue getResource(String resourceName, String libraryName, String contentType, String localePrefix)
-
getResource
public ResourceHandlerCache.ResourceValue getResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName)
-
containsResource
public boolean containsResource(String resourceName, String libraryName, String contentType, String localePrefix)
-
containsResource
public boolean containsResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName)
-
putResource
public void putResource(String resourceName, String libraryName, String contentType, String localePrefix, ResourceMeta resource, ResourceLoader loader)
-
putResource
public void putResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)
-
getResource
public ResourceHandlerCache.ResourceValue getResource(String resourceId)
-
getResource
public ResourceHandlerCache.ResourceValue getResource(String resourceId, String contractName)
-
containsResource
public boolean containsResource(String resourceId)
-
putResource
public void putResource(String resourceId, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)
-
containsViewResource
public boolean containsViewResource(String resourceName, String contentType, String localePrefix)
-
containsViewResource
public boolean containsViewResource(String resourceName, String contentType, String localePrefix, String contractName)
-
getViewResource
public ResourceHandlerCache.ResourceValue getViewResource(String resourceName, String contentType, String localePrefix)
-
getViewResource
public ResourceHandlerCache.ResourceValue getViewResource(String resourceName, String contentType, String localePrefix, String contractName)
-
putViewResource
public void putViewResource(String resourceName, String contentType, String localePrefix, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)
-
putViewResource
public void putViewResource(String resourceName, String contentType, String localePrefix, String contractName, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)
-
confirmLibraryExists
public void confirmLibraryExists(String libraryName)
-
confirmLibraryNotExists
public void confirmLibraryNotExists(String libraryName)
-
-