question: public void handleClientMembership ( String clientId , int eventType ) { String notifType = null ; List < ManagedResource > cleanedUp = null ; if ( eventType == ClientMembershipMessage . LEFT ) { notifType = NOTIF_CLIENT_LEFT ; cleanedUp = cleanupBridgeClientResources ( clientId ) ; } else if ( eventType == ClientMembershipMessage . CRASHED ) { notifType = NOTIF_CLIENT_CRASHED ; cleanedUp = cleanupBridgeClientResources ( clientId ) ; } else if ( eventType == ClientMembershipMessage . JOINED ) { notifType = NOTIF_CLIENT_JOINED ; } if ( cleanedUp != null ) { for ( ManagedResource resource : cleanedUp ) { MBeanUtil . unregisterMBean ( resource ) ; } } Helper . sendNotification ( this , new Notification ( notifType , this . modelMBean , Helper . getNextNotificationSequenceNumber ( ) , clientId ) ) ; }
target:  Implementation handles client membership changes.