Search in sources :

Example 1 with H2DbConfig

use of org.webpieces.plugin.hsqldb.H2DbConfig in project webpieces by deanhiller.

the class DevServerMeta method getPlugins.

@Override
public List<Plugin> getPlugins() {
    List<Plugin> prodPlugins = prodMeta.getPlugins();
    List<Plugin> devPlugins = Lists.newArrayList(// so the in-memory H2 DB can be queried to debug issues with your application code
    new H2DbPlugin(new H2DbConfig()), new WebpiecesDocumentationPlugin(new DocumentationConfig()));
    prodPlugins.addAll(devPlugins);
    return prodPlugins;
}
Also used : WebpiecesDocumentationPlugin(org.webpieces.plugin.documentation.WebpiecesDocumentationPlugin) H2DbConfig(org.webpieces.plugin.hsqldb.H2DbConfig) DocumentationConfig(org.webpieces.plugin.documentation.DocumentationConfig) WebpiecesDocumentationPlugin(org.webpieces.plugin.documentation.WebpiecesDocumentationPlugin) H2DbPlugin(org.webpieces.plugin.hsqldb.H2DbPlugin) Plugin(org.webpieces.router.api.plugins.Plugin) H2DbPlugin(org.webpieces.plugin.hsqldb.H2DbPlugin)

Aggregations

DocumentationConfig (org.webpieces.plugin.documentation.DocumentationConfig)1 WebpiecesDocumentationPlugin (org.webpieces.plugin.documentation.WebpiecesDocumentationPlugin)1 H2DbConfig (org.webpieces.plugin.hsqldb.H2DbConfig)1 H2DbPlugin (org.webpieces.plugin.hsqldb.H2DbPlugin)1 Plugin (org.webpieces.router.api.plugins.Plugin)1