1 |
On the Server Model Editor dashboard, click the value displayed in the Collected Attributes column (for example, 4/11) for the root type you want to configure. |
2 |
In the Collected Attributes dialog box that opens, select the check boxes for the attributes you want to collect. |
3 |
Optional — If necessary, you can edit the attribute to change its storage type. Click Edit in the row for the attribute that you want to edit. For more information, see Step 7 of the procedure Adding a Root Type to an MBean Server Model . |
4 |
Click OK. |
1 |
On the Server Model Editor dashboard, click the value in the Relationships column (for example, 0/1) for the root type you want to configure. |
2 |
In the Exposed Relationships dialog box that opens, click the text in the Relationship column of the attribute for which you want to expose a relationship. |
4 |
Click OK. |
The default display name for an MBean type is equivalent to its ObjectName. You can change the display name of the MBean type using groovy scripts. A groovy script can reference any collected property or ObjectName property.
1 |
On the Server Model Editor dashboard, click the text Display Name column for a selected MBean type. |
2 |
In the Display Name dialog box that opens, select the Use a groovy script to customize the display name as follows option. |
• |
To access a collected property with the name MyPropertyName, use the following: scope.get('_MyPropertyName', null). |
• |
To access an ObjectName property with the key ObjectNameKey, use the following: scope.get('ON_ObjectNameKey', null) |
4 |
Optional — Click Property Reference List to display a list of available properties that can be referenced in the script. |
5 |
Click OK. |
2 |
In the list that opens, click Remove. |
3 |
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center