org.apache.myfaces.shared.resource
Class ResourceHandlerCache

java.lang.Object
  extended by org.apache.myfaces.shared.resource.ResourceHandlerCache

public class ResourceHandlerCache
extends Object


Nested Class Summary
static class ResourceHandlerCache.ResourceKey
           
static class ResourceHandlerCache.ResourceValue
           
 
Constructor Summary
ResourceHandlerCache()
           
 
Method Summary
 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)
           
 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
 

Constructor Detail

ResourceHandlerCache

public ResourceHandlerCache()
Method Detail

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)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.