Since M3 we’ve had Listeners implemented in the OpenNTF Domino API. Although there’s potential for even greater implementation of listeners through the API, they’re already extremely powerful.

Think about triggering specific code whenever a document is saved from XPages. The concept is very powerful and there has been an example in the Demo database for many months. But as I’ve been going through reviewing Javadoc comments in the API, I’ve realised it’s never really been documented.

There are a number of moving parts, so it’s not just a single method call. But once you understand what’s required, it’s easy to implement (although it will require you to create a Java class implementing IDominoListener).

So I’ve added a wiki article to GitHub.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top