Project

General

Profile

« Previous | Next » 

Revision 7108

Add the listener for LifecycleEvent state changes

View differences:

HazelcastService.java
216 216
      // Listen for members added/removed
217 217
      hzInstance.getCluster().addMembershipListener(this);
218 218
      
219
      // Listen for lifecycle state changes
220
      hzInstance.getLifecycleService().addLifecycleListener(this);
221
      
219 222
    } catch (PropertyNotFoundException e) {
220 223

  
221 224
      String msg = "Couldn't find Hazelcast properties for the DataONE clusters. " +

Also available in: Unified diff