public boolean removeReference ( ServiceReference < T > reference ) { synchronized ( elementMap ) { ConcurrentServiceReferenceElement < T > element = elementMap . remove ( reference ) ; if ( element == null ) { return false ; } elementSet . remove ( element ) ; return true ; } }
Removes the service reference from the set