Description
Send application notifications using a wide range of protocols via JAlarms.
Installation
The current version of griffon-jml-plugin is 0.2
To install just issue the following command
Usage
This addon provides a helper class that knows how to connect/disconnect to and and from the MSN network: griffon.plugins.jml.MessengerConnector. The following Controller shows how this class can be used to parse the configuration and connect to the network
This Controller assumes that the login/password are found in the Model, most likely set by bindings on the View.
This addon also injects a dynamic method withMessenger() which can be used to send messages to the MSN network. However you must make sure a connection has been established first, or you might get an NPE.
Events
The following events will be triggered by this MessengerConnector
- MessnegerConnectStart[config] - triggered before connecting to the MSN network
- MessengerConnectEnd[msnMessenger] - triggered after connecting to the MSN network
- MessengerlDisconnectStart[config, msnMessenger] - triggered before disconnecting from the MSN network
- MessengerDisconnectEnd[] - triggered after disconnecting from the MSN network.
Configuration
Dynamic method injection
Dynamic methods will be added to controllers by default. You can change this setting by adding a configuration flag in Config.groovy
History
Version |
Date |
Notes |
|---|---|---|
0.2 |
10-21-11 |
Release sync with Griffon 0.9.4 |
0.1 |
12-21-10 |
first release |


