org.broadleafcommerce.common.web.util
Class ProcessorUtils

java.lang.Object
  extended by org.broadleafcommerce.common.web.util.ProcessorUtils

public class ProcessorUtils
extends Object

Note that the utility methods to return a js or css request handler cannot be replaced with @Resource annotations due to these beans only existing in a web application context, whereas the callers of these resources may exist in both web and non-web application contexts.

Author:
Andre Azzolini (apazzolini)

Field Summary
protected static Map<String,Object> cachedBeans
           
 
Constructor Summary
ProcessorUtils()
           
 
Method Summary
static BroadleafResourceHttpRequestHandler getCssRequestHandler(org.thymeleaf.Arguments arguments)
          Note: See the class level comment for ProcessorUtils
static BroadleafResourceHttpRequestHandler getJsRequestHandler(org.thymeleaf.Arguments arguments)
          Note: See the class level comment for ProcessorUtils
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cachedBeans

protected static Map<String,Object> cachedBeans
Constructor Detail

ProcessorUtils

public ProcessorUtils()
Method Detail

getJsRequestHandler

public static BroadleafResourceHttpRequestHandler getJsRequestHandler(org.thymeleaf.Arguments arguments)
Note: See the class level comment for ProcessorUtils

Parameters:
arguments -
Returns:
the "blJsResources" bean

getCssRequestHandler

public static BroadleafResourceHttpRequestHandler getCssRequestHandler(org.thymeleaf.Arguments arguments)
Note: See the class level comment for ProcessorUtils

Parameters:
arguments -
Returns:
the "blCssResources" bean


Copyright © 2013. All Rights Reserved.