org.broadleafcommerce.openadmin.web.rulebuilder.enums
Class RuleBuilderEnumOptionsResourceHandler
java.lang.Object
org.broadleafcommerce.openadmin.web.resource.AbstractGeneratedResourceHandler
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)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ruleBuilderEnumOptions
protected RuleBuilderEnumOptionsExtensionListener ruleBuilderEnumOptions
RuleBuilderEnumOptionsResourceHandler
public RuleBuilderEnumOptionsResourceHandler()
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.