public class DataSourceUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DataSourceUtils.PoolType |
Constructor and Description |
---|
DataSourceUtils() |
Modifier and Type | Method and Description |
---|---|
static List<DataSourceDescriptor> |
getDataSourceDescriptors(CdsRuntime runtime) |
static Map<String,DataSource> |
getDataSources(CdsRuntime runtime)
Returns the available datasource objects as a map.
|
static String |
getDataSourceSection(String name,
DataSourceUtils.PoolType poolType) |
public static List<DataSourceDescriptor> getDataSourceDescriptors(CdsRuntime runtime)
runtime
- the CdsRuntime
public static Map<String,DataSource> getDataSources(CdsRuntime runtime)
runtime
- the CdsRuntime
public static String getDataSourceSection(String name, DataSourceUtils.PoolType poolType)
Copyright © 2023. All rights reserved.