public ArrayList getAllPubSubOutputHandlerMatchTargets ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getAllPubSubOutputHandlerMatchTargets" ) ; ArrayList outputHandlerList ; // Get from the HashMap, with synch, there may be other accessors synchronized ( _targets ) { outputHandlerList = new ArrayList ( _targets . size ( ) ) ; Iterator itr = _targets . keySet ( ) . iterator ( ) ; while ( itr . hasNext ( ) ) { Object key = itr . next ( ) ; if ( key instanceof ControllableProxySubscription ) outputHandlerList . add ( ( ( ControllableProxySubscription ) key ) . getOutputHandler ( ) ) ; } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "getAllPubSubOutputHandlerMatchTargets" , outputHandlerList ) ; return outputHandlerList ; }
Method getAllPubSubOutputHandlerMatchTargets Used to return a list of all PubSubOutputHandlers stored in the matchspace