org.broadleafcommerce.openadmin.web.rulebuilder.enums
Class RuleBuilderEnumOptionsResourceHandler

java.lang.Object
  extended by org.broadleafcommerce.openadmin.web.resource.AbstractGeneratedResourceHandler
      extended by org.broadleafcommerce.openadmin.web.rulebuilder.enums.RuleBuilderEnumOptionsResourceHandler

@Component(value="blRuleBuilderEnumOptionsResourceHandler")
public class RuleBuilderEnumOptionsResourceHandler
extends AbstractGeneratedResourceHandler

Generated resource handler for blc-rulebuilder-options.js. Delegates to all registered RuleBuilderEnumOptionsExtensionListener to create the resource

Author:
Andre Azzolini (apazzolini)

Field Summary
protected  RuleBuilderEnumOptionsExtensionListener ruleBuilderEnumOptions
           
 
Fields inherited from class org.broadleafcommerce.openadmin.web.resource.AbstractGeneratedResourceHandler
generatedResourceCache
 
Constructor Summary
RuleBuilderEnumOptionsResourceHandler()
           
 
Method Summary
 String getFileContents()
           
 String getHandledFileName()
          For example, if the application is deployed under the "test" context and you want to handle the request for http://localhost/test/js/myFile.js, this method should return the String "/js/myFile.js".
 
Methods inherited from class org.broadleafcommerce.openadmin.web.resource.AbstractGeneratedResourceHandler
getGeneratedResourceCache, getResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ruleBuilderEnumOptions

protected RuleBuilderEnumOptionsExtensionListener ruleBuilderEnumOptions
Constructor Detail

RuleBuilderEnumOptionsResourceHandler

public RuleBuilderEnumOptionsResourceHandler()
Method Detail

getHandledFileName

public String getHandledFileName()
Description copied from class: AbstractGeneratedResourceHandler
For example, if the application is deployed under the "test" context and you want to handle the request for http://localhost/test/js/myFile.js, this method should return the String "/js/myFile.js".

Specified by:
getHandledFileName in class AbstractGeneratedResourceHandler
Returns:
the servlet-context-based file name to handle.

getFileContents

public String getFileContents()
Specified by:
getFileContents in class AbstractGeneratedResourceHandler
Returns:
the String representation of the contents of this generated file


Copyright © 2013. All Rights Reserved.