code: private synchronized void setService( final T newService )
      {
          if( m_service != newService )
          {
              LOG.debug( "Service changed [" + m_service + "]  -> [" + newService + "]" );
              final T oldService = m_service;
              m_service = newService;
              if( m_serviceListener != null )
              {
                  m_serviceListener.serviceChanged( oldService, m_service );
              }
          }
      }
docs: Sets the new service and notifies the listener that the service was changed.
  
  @param newService the new service