| Package | Description |
|---|---|
| org.apache.knox.gateway.shell | |
| org.apache.knox.gateway.shell.commands |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,KnoxDataSource> |
KnoxSession.getMapOfDataSourcesFromJsonString(String json) |
static Map<String,KnoxDataSource> |
KnoxSession.loadDataSources()
Load and return a map of datasource names to KnoxDataSource
objects from the {user.home}/.knoxshell/knoxdatasources.json file.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
KnoxSession.persistDataSources(Map<String,KnoxDataSource> datasources) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,KnoxDataSource> |
AbstractSQLCommandSupport.getDataSources() |
| Modifier and Type | Method and Description |
|---|---|
protected Connection |
AbstractSQLCommandSupport.getConnection(KnoxDataSource ds,
String user,
String pass) |
protected Connection |
AbstractSQLCommandSupport.getConnectionFromSession(KnoxDataSource ds) |
Copyright © 2020 The Apache Software Foundation. All rights reserved.