org.broadleafcommerce.common.web.resource
Class BLCJSResourceHandler
java.lang.Object
org.broadleafcommerce.common.web.resource.AbstractGeneratedResourceHandler
org.broadleafcommerce.common.web.resource.BLCJSResourceHandler
@Component(value="blBLCJSResourceHandler")
public class BLCJSResourceHandler
- extends AbstractGeneratedResourceHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propMgr
@Autowired
protected RuntimeEnvironmentPropertiesManager propMgr
BLCJSResourceHandler
public BLCJSResourceHandler()
canHandle
public boolean canHandle(String path)
- Specified by:
canHandle in class AbstractGeneratedResourceHandler
- Returns:
- booelean determining whether or not this handler is able to handle the given request
getFileContents
public org.springframework.core.io.Resource getFileContents(String path,
List<org.springframework.core.io.Resource> locations)
- Specified by:
getFileContents in class AbstractGeneratedResourceHandler
- Returns:
- the Resource representing this file
isCachedResourceExpired
public boolean isCachedResourceExpired(GeneratedResource cachedResource,
String path,
List<org.springframework.core.io.Resource> locations)
- Specified by:
isCachedResourceExpired in class AbstractGeneratedResourceHandler
- Returns:
- whether or not the given cachedResource needs to be regenerated
Copyright © 2013. All Rights Reserved.