Oracle® Fusion Middleware Administrator's Guide for Oracle Application Development Framework 11g Release 1 (11.1.1) Part Number E15470-01 |
|
|
View PDF |
This chapter describes the WLST commands you can use to deploy, manage, and configure Oracle ADF applications.
This chapter includes the following sections:
Use the ADF-based URL Connections WLST commands to navigate the hierarchy of configuration or runtime beans and control the prompt display.
To use the custom WLST commands for Oracle ADF, you must invoke the WLST script from the Oracle Common home. For more information about other WLST commands, such as custom Metadata Services (MDS) commands, see the Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.
Use the commands in Table 4-1 to manage URL-based connections.
Table 4-1 Browse Commands for WLST Configuration
Use this command... | To... | Use with WLST... |
---|---|---|
adf_createFileUrlConnection |
Create a new ADF file connection. |
Online or Offline |
adf_createHttpUrlConnection |
Create a new ADF URL connection. |
Online or Offline |
adf_setURLConnectionAttributes |
Set or edit the attributes of a newly created or existing ADF connection. |
Online or Offline |
adf_listUrlConnection |
List a new URL connection. |
Online or Offline |
Use with WLST: Online or Offline.
Use this command to creates a new connection based on the oracle.adf.model.connection.url.FileURLConnection
connection class.
adf_createFileURLConnection(appName, name, URL)
Argument | Definition |
---|---|
appName |
Application name for which the connection will be created. |
name |
The name of the new connection. |
URL |
The URL associated with this connection. |
Use with WLST: Online or Offline.
Use this command to create a new connection based on the oracle.adf.model.connection.url.HttpURLConnection
connection type
class.
adf.createHttpURLConnection (appName, name, [URL], [authenticationType], [realm], [user], [password])
Argument | Definition |
---|---|
appName
|
Application name for which the connection will be created. |
name
|
The name of the new connection. |
url
|
(Optional) The URL associated with this connection. |
authenticationType |
(Optional) The default is basic. |
realm |
(Optional) If this connection deals with authentication, then this should be set. The default is basic. |
user |
(Optional) |
password |
(Optional) |
Use with WLST: Online or Offline.
Use this command to set or edit the attributes of a newly created or existing ADF connection.
adf_setURLConnectionAttributes(appname, connectionname, attributes)
Argument | Definition |
---|---|
appname |
Application name. |
connectionname |
The name of the connection. |
attributes
|
The array containing attributes to set in key/value pairs. |