public List < JsDestinationAddress > getAllSystemDestinations ( SIBUuid8 meUuid ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getAllSystemDestinations" , meUuid ) ; DestinationTypeFilter filter = new DestinationTypeFilter ( ) ; filter . LOCAL = Boolean . FALSE ; filter . DELETE_PENDING = Boolean . FALSE ; filter . DELETE_DEFERED = Boolean . FALSE ; filter . ACTIVE = Boolean . TRUE ; List < JsDestinationAddress > destAddresses = new ArrayList < JsDestinationAddress > ( ) ; Iterator itr = getDestinationIndex ( ) . iterator ( filter ) ; while ( itr . hasNext ( ) ) { DestinationHandler destinationHandler = ( DestinationHandler ) itr . next ( ) ; String destinationHandlerName = destinationHandler . getName ( ) ; SIBUuid8 found = SIMPUtils . parseME ( destinationHandlerName ) ; if ( found == null ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "Couldn't parse uuid from " + destinationHandlerName ) ; } if ( found != null && found . equals ( meUuid ) ) { if ( destinationHandler . isSystem ( ) ) { destAddresses . add ( SIMPUtils . createJsDestinationAddress ( destinationHandler . getName ( ) , meUuid ) ) ; } } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "getAllSystemDestinations" , destAddresses ) ; return destAddresses ; }
Finds all the JsDestinationAddresses that belong to system destinations for the ME that was passed in .