Esteban Aliverti
committed
on 15 Jul 10
JBRULES-2570: KnowledgeAgent lacks a safe disposal method
- Implemented dispose() method. This method will un-subscribe all the agent's res… Show more
JBRULES-2570: KnowledgeAgent lacks a safe disposal method

        - Implemented dispose() method. This method will un-subscribe all the agent's resources listeners and stop the notification thread.

        - monitorResourceChangeEvents(false) now un-subscribe all the agent's resources listeners. The will be set up again when calling monitorResourceChangeEvents(true)

        - fixed a bug in ResourceChangeNotifierImpl that prevented listeners to be un subscribed properly Show less