Fix `LeaderInitiator`
* Implement `SmartLifecycle` instead of just `Lifecycle`
* Add `Assert`s
* Rework logic from `IMap` for locks just into single `ILock`, since we require it only for the `role` as a key
* Fix `Future.cancel(true)` logic via rescheduling
See https://jira.spring.io/browse/INT-4058 and its commit comments
* Add more complex test-case to meet distributed requirements and verify several `yield()` cycles
JIRA: https://jira.spring.io/browse/INTEXT-158
* Provide the test cases to demonstrate the Spring Integration Hazelcast adapters usage from the JavaConfig
* Upgrade to Hazelcast-3.6, SI-4.2.4, Gradle-2.5
* Fix Hazelcast-3.6 compatibility
* Fix failing tests
JIRA: https://jira.spring.io/browse/INTEXT-167
Some refactorings are done.
Hazelcast Cluster Monitor Unit Test Refactorings are done.
Some minor bug fixes are done.
Redundant assert is removed.
HazelcastInstance lifecycle check is added
Migration Event UT Case is updated.
Code style polishing and upgrade to the `spring.io.plugin-0.4.0`
* Add IO plugin
* Upgrade to Gradle 2.4
* Upgrade dependencies
* Upgrade to Hazelcast-3.5 and therefore make compatible with IO-2.0
* All these changes and tests make this module compatible with SI-4.2
JIRA: https://jira.spring.io/browse/INTEXT-149
Some refactorings are done.
Polishing
* Add `IllegalStateException` for wrong `distributedObject`
* Add an invalid test to attempt to write to `ILock`
JIRA: https://jira.spring.io/browse/INTEXT-150
Refactorings are committed.
Polishing:
* Add generic type to the `AbstractHazelcastEventListener` for cleaner implementors
* Remove redundant `Assert`s
* Polishing some code style