public class DataSourceConfigHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_SOURCE_CONFIG_DIRECTORY |
Constructor and Description |
---|
DataSourceConfigHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
expandStudioHomeToken(java.lang.String value)
Expands tokens in a path string representing the data source directory.
|
static java.io.File |
findDataSourceConfigDirectory()
This returns the directory where we have datasource files to load
|
static java.io.File |
getFileFromPath(java.lang.String path) |
static void |
resetDataSourceStatusPoller()
Cancel the existing timer and reset from value in FrameworkSettings
|
static MDEXState |
testConnection(java.lang.String id,
javax.portlet.PortletRequest request)
This method takes a data source id, find's the corresponding MDEX State, and pings the MDEX to see if it is available.
|
public static final java.lang.String DATA_SOURCE_CONFIG_DIRECTORY
public static void resetDataSourceStatusPoller()
public static MDEXState testConnection(java.lang.String id, javax.portlet.PortletRequest request)
id
- public static java.io.File findDataSourceConfigDirectory()
public static java.lang.String expandStudioHomeToken(java.lang.String value)
value
- the tokenized path stringpublic static java.io.File getFileFromPath(java.lang.String path)
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.