trafficAuditer = (TrafficAuditService) sb.getService (this, TrafficAuditService.class, null); if (trafficAuditer == null) new TrafficAuditServiceImpl (sb); trafficAuditer = (TrafficAuditService) sb.getService (this, TrafficAuditService.class, null); if (trafficAuditer == null) log.warn ("Cannot do traffic auditing - TrafficAuditService not available!");
trafficAuditor = (TrafficAuditService) sb.getService (this, TrafficAuditService.class, null); if (trafficAuditor == null) new TrafficAuditServiceImpl (sb); trafficAuditor = (TrafficAuditService) sb.getService (this, TrafficAuditService.class, null); if (trafficAuditor == null) log.warn ("Cannot do traffic auditing - TrafficAuditService not available!");
  public void load ()  {    super.load();    log = loggingService;    if (log.isInfoEnabled())    {      synchronized (this)      {        if (trafficAuditer == null)        {          ServiceBroker sb = getServiceBroker();          trafficAuditer = (TrafficAuditService) sb.getService (this, TrafficAuditService.class, null);          if (trafficAuditer == null) new TrafficAuditServiceImpl (sb);          trafficAuditer = (TrafficAuditService) sb.getService (this, TrafficAuditService.class, null);          if (trafficAuditer == null) log.warn ("Cannot do traffic auditing - TrafficAuditService not available!");        }      }    }  }