protected void onFoundDestination ( String destName ) { if ( ( destName != null ) && ( ! destName . isEmpty ( ) ) ) { DestinationState destState = this . registry . putIfAbsent ( destName , new DestinationState ( destName , this . brokerId ) ) ; // // If it was already there, mark it as seen now by the broker. // if ( destState != null ) { destState . putBrokerInfo ( this . brokerId , true ) ; } } }
For the destination represented by the named mbean add the destination to the registry .