@Controller @RequestMapping(value="/install/datasource/sources") public class InstallDatasourceSettingsController extends AbstractController
Constructor and Description |
---|
InstallDatasourceSettingsController() |
Modifier and Type | Method and Description |
---|---|
private org.codehaus.jettison.json.JSONObject |
encode(InstallationConfiguration c,
Map<String,Datasource> dialects) |
String |
get(javax.servlet.http.HttpSession session) |
protected Map<String,Datasource> |
getDatasources() |
protected List<String> |
getOrderedDialects(Set<String> dialectKeys) |
protected void |
setDefaultValue(InstallationConfiguration c,
SettingDefinition<?,?> def) |
getBasePath, getContext, getDatabaseSettingsHandler, getMetaDataHandler, getSettingsManager, parseBoolean, parseBoolean, setContext, toSimpleMap
@ResponseBody @RequestMapping(method=GET, produces="application/json; charset=UTF-8") public String get(javax.servlet.http.HttpSession session) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException
private org.codehaus.jettison.json.JSONObject encode(InstallationConfiguration c, Map<String,Datasource> dialects) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException
protected Map<String,Datasource> getDatasources()
protected void setDefaultValue(InstallationConfiguration c, SettingDefinition<?,?> def)
Copyright © 2012-2014 52north.org. All Rights Reserved.