org.apache.myfaces.shared.resource
Class ResourceHandlerCache
java.lang.Object
org.apache.myfaces.shared.resource.ResourceHandlerCache
public class ResourceHandlerCache
- extends Object
Method Summary |
void |
confirmLibraryExists(String libraryName)
|
void |
confirmLibraryNotExists(String libraryName)
|
boolean |
containsResource(String resourceId)
|
boolean |
containsResource(String resourceId,
String contractName)
|
boolean |
containsResource(String resourceName,
String libraryName,
String contentType,
String localePrefix)
|
boolean |
containsResource(String resourceName,
String libraryName,
String contentType,
String localePrefix,
String contractName)
|
boolean |
containsViewResource(String resourceName,
String contentType,
String localePrefix)
|
boolean |
containsViewResource(String resourceName,
String contentType,
String localePrefix,
String contractName)
|
ResourceHandlerCache.ResourceValue |
getResource(String resourceId)
|
ResourceHandlerCache.ResourceValue |
getResource(String resourceId,
String contractName)
|
ResourceHandlerCache.ResourceValue |
getResource(String resourceName,
String libraryName,
String contentType,
String localePrefix)
|
ResourceHandlerCache.ResourceValue |
getResource(String resourceName,
String libraryName,
String contentType,
String localePrefix,
String contractName)
|
ResourceHandlerCache.ResourceValue |
getViewResource(String resourceName,
String contentType,
String localePrefix)
|
ResourceHandlerCache.ResourceValue |
getViewResource(String resourceName,
String contentType,
String localePrefix,
String contractName)
|
Boolean |
libraryExists(String libraryName)
|
void |
putResource(String resourceId,
ResourceMeta resource,
ResourceLoader loader,
ResourceCachedInfo info)
|
void |
putResource(String resourceName,
String libraryName,
String contentType,
String localePrefix,
ResourceMeta resource,
ResourceLoader loader)
|
void |
putResource(String resourceName,
String libraryName,
String contentType,
String localePrefix,
String contractName,
ResourceMeta resource,
ResourceLoader loader,
ResourceCachedInfo info)
|
void |
putViewResource(String resourceName,
String contentType,
String localePrefix,
ResourceMeta resource,
ResourceLoader loader,
ResourceCachedInfo info)
|
void |
putViewResource(String resourceName,
String contentType,
String localePrefix,
String contractName,
ResourceMeta resource,
ResourceLoader loader,
ResourceCachedInfo info)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceHandlerCache
public ResourceHandlerCache()
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,
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)
libraryExists
public Boolean libraryExists(String libraryName)
confirmLibraryExists
public void confirmLibraryExists(String libraryName)
confirmLibraryNotExists
public void confirmLibraryNotExists(String libraryName)
Copyright © 2015 The Apache Software Foundation. All rights reserved.