public class ADFOfflineConnectionUtils
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ADFOfflineConnectionUtils.JDBCConnectionInfo  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
createConnection(java.lang.String connectionName,
                ConnectionReference reference)
Creates a connection with the given connection name and ConnectionReference object. 
 | 
boolean | 
deleteConnection(java.lang.String connectionName)
Deletes the connection with the given connection name. 
 | 
javax.naming.Reference | 
getConnection(java.lang.String connectionName)
Returns the connection with the supplied name , null if the connection couldn't be found. 
 | 
static ADFOfflineConnectionUtils | 
getInstance()
Returns ADFOfflineConnectionUtils instanSce which can be used to call different api to do CRUD
 operations for ADF connections without needing the app server . 
 | 
ADFOfflineConnectionUtils.JDBCConnectionInfo | 
getJdbcConnectionInfo()
Returns the ADFOfflineConnectionUtils.JDBCConnectionInfo for this instance 
 | 
void | 
setAdfConfig(java.net.URL adfConfig)  | 
void | 
setJdbcConnectionInfo(ADFOfflineConnectionUtils.JDBCConnectionInfo jdbcConnectionInfo)
Sets the ADFOfflineConnectionUtils.JDBCConnectionInfo to this instance 
 | 
boolean | 
updateConnection(java.lang.String connectionName,
                ConnectionReference reference)
Updates the connection with the given connection name and ConnectionReference object. 
 | 
public static ADFOfflineConnectionUtils getInstance()
public javax.naming.Reference getConnection(java.lang.String connectionName)
                                     throws ADFOfflineConnectionException
connectionName - Name of the connectionADFOfflineConnectionExceptionpublic boolean createConnection(java.lang.String connectionName,
                                ConnectionReference reference)
                         throws ADFOfflineConnectionException
connectionName - Name of the connectionreference - oracle.adf.share.jndi.ConnectionReference objectADFOfflineConnectionExceptionpublic boolean updateConnection(java.lang.String connectionName,
                                ConnectionReference reference)
                         throws ADFOfflineConnectionException
connectionName - Name of the connectionreference - oracle.adf.share.jndi.ConnectionReference objectADFOfflineConnectionExceptionpublic boolean deleteConnection(java.lang.String connectionName)
                         throws ADFOfflineConnectionException
connectionName - Name of the connectionADFOfflineConnectionExceptionpublic void setJdbcConnectionInfo(ADFOfflineConnectionUtils.JDBCConnectionInfo jdbcConnectionInfo)
jdbcConnectionInfo - public ADFOfflineConnectionUtils.JDBCConnectionInfo getJdbcConnectionInfo()
public void setAdfConfig(java.net.URL adfConfig)