protected void notifyUpdate ( String key , Map < String , Object > value ) { if ( value . size ( ) == 1 ) { Map . Entry < String , Object > entry = value . entrySet ( ) . iterator ( ) . next ( ) ; notifyUpdate ( entry . getKey ( ) , entry . getValue ( ) ) ; return ; } for ( ISharedObjectListener listener : listeners ) { listener . onSharedObjectUpdate ( this , key , value ) ; } }
Notify listeners on map attribute update