How To Set And Get FMW MBean Attributes and Invoke FMW MBean Methods From WLST Scripts
(Doc ID 1381122.1)
Last updated on AUGUST 09, 2023
Applies to:
Enterprise Manager for Fusion Middleware - Version 11.1.1.2.0 and laterInformation in this document applies to any platform.
Goal
The purpose of this document is to help getting started on creating WLST scripts dealing with FMW Products MBeans, showing how to navigate, create, set and get attributes of Fusion Middleware (FMW) MBeans.
FMW products e.g. ADF , SOA, WebTier, IDM, Forms , Reports, etc. are managed and monitored with MBeans. The difference of these FMW MBeans compared with WLS Domain and WLS Server MBeans is these MBeans live in their own MBean Server, running in the AdminServer as well.
Accessing FMW MBeans can be convenient in cases when a given functionality is not wrapped in a WLST command or FMW Control and/or cases where you have a WLS Domain with no FMW Control deployed.
In the example here a new ADF WebService Connection is created and its properties are defined so it is ready to go for an ADF application. In this case there is no equivalent ADF WLST command to perform this operation.
If you are interested on dealing with MBeans exposed by WLS itself, see the <note 1311303.1> for a working example.
Before using the approach described here, the recommendation is always to check the WLST commands available for your FMW Product checking the corresponding FMW Product Administration Guide and/or from WLST using the help() command.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
How to invoke MBean methods |
How to set / get MBean attributes |
References |