OpenLiberty / OpenLiberty/docs

There are no FileNotificationMBean usage examples in OL docs

Open
#7,106 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

WL to OL
Dominant language
No language data
Stars
14
Forks
58
Avg merge
4m
Merged PRs (30d)
35

Description

Please describe the problem you are having with the documentation. Is information missing, inaccurate, or unclear? Tell us about the context where you encountered the problem so we can understand how to address it.

Request: To add a code snippet example of how to use a FileNotificationMBean .

There seems to be a hole in our docs for this, the only example we have found so far is from a z/OS connect doc: https://www.ibm.com/docs/en/zos-connect/zosconnect/3.0?topic=demand-invoking-filenotificationmbean-from-java-program

There is a Liberty IBM doc that does give some other mbean examples, but not a FileNotificationMBean example.
https://www.ibm.com/docs/en/was-liberty/base?topic=liberty-examples-accessing-mbean-attributes-operations

I think it would be helpful if we had the FileNotificationMBean example added to that page. FileNotificationMBean is applicable to multiple features, including applicationMonitor, config, keystore, and ltpa.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Liberty page on accessing MBean attributes and operations, then review the linked z/OS Connect FileNotificationMBean example. Done means adding a clear FileNotificationMBean code snippet to the Liberty examples page that is applicable to the listed features.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.