This class is an internal implementation detail and will change without notice.
Clients that depend on
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to
An abstract service to be subclassed by any service which wants to use MessageHandlers.
This class is hopefully going to be moved to the JIRA Mail Plugin.
||This class only purpose is to respond quickly to possible disablement of a plugin module which defines
the handler used by descendants of AbstractMessageHandlingService class.
This method is not really called when JIRA Service manager discards the instance of this service.
That's why we have to play with weak references in the disablement listener
Anyway, for the sake of completeness, we are cleaning the stuff also here.
Initialise the service. This method is guaranteed to be called before the first call to run().
As the parameters are gained from the user's interaction with the website, it
is not guaranteed to be called with the correct, or indeed with any parameters.
init() may be called multiple times during the services lifetime.
This method must be implemented in a subclass, and performs the functionality
that the service performs. This method is called after the duration specified through
the administration web interface.