public void shutdown ( ) { try { LOGGER . info ( "Shutting down Hazelcast instance [{}]" , this . hazelcastInstance . getConfig ( ) . getInstanceName ( ) ) ; this . hazelcastInstance . shutdown ( ) ; } catch ( final Exception e ) { LOGGER . debug ( e . getMessage ( ) ) ; } }
Make sure we shutdown HazelCast when the context is destroyed .