| java.lang.Object nextapp.echo2.webrender.service.JavaScriptService
JavaScriptService | public class JavaScriptService implements Service(Code) | | A service which renders JavaScript resource files.
|
Method Summary | |
public static JavaScriptService | forResource(String id, String resourceName) Creates a new JavaScript service from the specified
resource in the CLASSPATH . | public String | getId() | public int | getVersion() DO_NOT_CACHE is returned for JavaScript
to avoid possibility of ever running out-of-date JavaScript in the
event an application is updated and redeployed. | public void | service(Connection conn) |
JavaScriptService | public JavaScriptService(String id, String content)(Code) | | Creates a new JavaScriptService .
Parameters: id - the Service id Parameters: content - the JavaScript content |
forResource | public static JavaScriptService forResource(String id, String resourceName)(Code) | | Creates a new JavaScript service from the specified
resource in the CLASSPATH .
Parameters: id - the Service id Parameters: resourceName - the CLASSPATH resource name containingthe JavaScript content the created JavaScriptService |
getVersion | public int getVersion()(Code) | | DO_NOT_CACHE is returned for JavaScript
to avoid possibility of ever running out-of-date JavaScript in the
event an application is updated and redeployed.
See Also: nextapp.echo2.webrender.Service.getVersion |
|
|