How To Set And Get FMW MBean Attributes and Invoke FMW MBean Methods From WLST Scripts
Last updated on FEBRUARY 15, 2017
Applies to:Enterprise Manager for Fusion Middleware - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms