Sets the monitoring service.

@param monitoringService the new monitoring service
161692
public void setMonitoringService(org.talend.esb.sam.common.service.MonitoringService monitoringService) {
        this.monitoringService = monitoringService;
    }
256548
@Override
	@Transactional
	public synchronized void enableMonitoring() {
		requireNotDisposed();
		_logger.info("Globally enabling all system monitoring.");
		_setServiceEnabled(true);
		_checkAlertExistence(true);
		_logger.info("All system monitoring globally enabled.");
	}
483469
public void registerService(ProvidedServiceInstance serviceInstance, ServiceInstanceHealth registryHealth) {
        // Monitor disabled ProvidedServiceInstance should not have the ServiceInstanceHealth.
        if(serviceInstance.isMonitorEnabled()== false){
            throw new ServiceException(ErrorCode.SERVICE_INSTANCE_HEALTH_ERROR);
        }
        registerService(serviceInstance);
    }
976836
@Override
  public final void setItem(final SeService pSeService) {
    this.item = pSeService;
    if (this.itsId == null) {
      this.itsId = new SeServicePriceId();
    }
    this.itsId.setItem(this.item);
  }
759290
public void setServices(java.util.Collection<Service> services) {
        if (services == null) {
            this.services = null;
            return;
        }

        this.services = new java.util.ArrayList<Service>(services);
    }
864404
public void registerService(Object service)
    {
    	this.setService(service);
    	String serviceClass = getInterfaceClassName(); 

    	if (service != null)
    		serviceRegistration = context.registerService(serviceClass, this.service, properties);
    }
170676
public void startMonitoring() {
        if (debug) LogD("");
        long start = settings.getLong(KEY_MONITOR_START, 0);
        if (start != 0) {
            if (debug) LogD("Monitor error.  called before end. Adding the result");
            endMonitoring();
        }
        editor.putLong(KEY_MONITOR_START, System.currentTimeMillis());
        commitEditor();
    }
79394
public void setCommerceNotificationTemplateService(
		com.liferay.commerce.notification.service.CommerceNotificationTemplateService commerceNotificationTemplateService) {
		this.commerceNotificationTemplateService = commerceNotificationTemplateService;
	}
26123
public void setInstanceMonitorings(java.util.Collection<InstanceMonitoring> instanceMonitorings) {
        if (instanceMonitorings == null) {
            this.instanceMonitorings = null;
            return;
        }

        this.instanceMonitorings = new com.amazonaws.internal.SdkInternalList<InstanceMonitoring>(instanceMonitorings);
    }
1250821
@Reference(name = "executorService", service = ExecutorService.class, policy = ReferencePolicy.DYNAMIC)
    protected void setExecutorService(ServiceReference<ExecutorService> executorService) {
        this.executorService.setReference(executorService);
    }
54232
public void setGroupLocalService(
		com.liferay.portal.kernel.service.GroupLocalService groupLocalService) {
		this.groupLocalService = groupLocalService;
	}
979205
public void setMonitorPlugin(MonitorPlugin plugin) throws TooManyListenersException {

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            Tr.entry(tc, "setMonitorPlugin", plugin);
        }

        if (this.monitorPlugin != null && !this.monitorPlugin.equals(plugin)) {
            throw new TooManyListenersException("INTERNAL ERROR: ThreadPool.MonitorPlugin already set.");
        }
        this.monitorPlugin = plugin;

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            Tr.exit(tc, "setMonitorPlugin", plugin);
        }
    }
429474
public void setCPMeasurementUnitService(
		com.liferay.commerce.product.service.CPMeasurementUnitService cpMeasurementUnitService) {
		this.cpMeasurementUnitService = cpMeasurementUnitService;
	}
313028
public void setCommerceAccountService(
		com.liferay.commerce.account.service.CommerceAccountService commerceAccountService) {
		this.commerceAccountService = commerceAccountService;
	}
1153692
public void setMessagingAuthenticationService(
			MessagingAuthenticationService messagingAuthenticationService) {
		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
			SibTr.entry(tc, CLASS_NAME + "setMessagingAuthenticationService",
					messagingAuthenticationService);
		}
		this.messagingAuthenticationService = messagingAuthenticationService;
		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
			SibTr.exit(tc, CLASS_NAME + "setMessagingAuthenticationService");
		}
	}
1139204
@Reference(name = KEY_SECURITY_SERVICE, policy = ReferencePolicy.DYNAMIC)
    protected void setSecurityService(SecurityService securitysvc) {
        securityService = securitysvc;
    }
243167
public void setClassNameService(
		com.liferay.portal.kernel.service.ClassNameService classNameService) {
		this.classNameService = classNameService;
	}