Search in sources :

Example 1 with ManagerExecutorService

use of org.openremote.manager.concurrent.ManagerExecutorService in project openremote by openremote.

the class Main method main.

public static void main(String[] args) throws Exception {
    List<ContainerService> services = new ArrayList<ContainerService>() {

        {
            addAll(Arrays.asList(new TimerService(), new ManagerExecutorService(), new I18NService(), new ManagerPersistenceService(), new MessageBrokerSetupService(), new ManagerIdentityService(), new SetupService(), new ClientEventService(), new RulesetStorageService(), new RulesService(), new AssetStorageService(), new AssetDatapointService(), new AssetAttributeLinkingService(), new AssetProcessingService(), new MessageBrokerService()));
            ServiceLoader.load(Protocol.class).forEach(this::add);
            addAll(Arrays.asList(new AgentService(), new SimulatorService(), new MapService(), new NotificationService(), new ConsoleAppService(), new ManagerWebService()));
        }
    };
    new Container(services).startBackground();
}
Also used : MessageBrokerSetupService(org.openremote.container.message.MessageBrokerSetupService) AssetStorageService(org.openremote.manager.asset.AssetStorageService) ConsoleAppService(org.openremote.manager.apps.ConsoleAppService) ArrayList(java.util.ArrayList) AssetProcessingService(org.openremote.manager.asset.AssetProcessingService) TimerService(org.openremote.container.timer.TimerService) ManagerIdentityService(org.openremote.manager.security.ManagerIdentityService) AssetDatapointService(org.openremote.manager.datapoint.AssetDatapointService) Container(org.openremote.container.Container) AgentService(org.openremote.manager.agent.AgentService) RulesService(org.openremote.manager.rules.RulesService) ManagerWebService(org.openremote.manager.web.ManagerWebService) SimulatorService(org.openremote.manager.simulator.SimulatorService) ClientEventService(org.openremote.manager.event.ClientEventService) Protocol(org.openremote.agent.protocol.Protocol) MapService(org.openremote.manager.map.MapService) RulesetStorageService(org.openremote.manager.rules.RulesetStorageService) I18NService(org.openremote.manager.i18n.I18NService) ManagerPersistenceService(org.openremote.manager.persistence.ManagerPersistenceService) NotificationService(org.openremote.manager.notification.NotificationService) AssetAttributeLinkingService(org.openremote.manager.asset.AssetAttributeLinkingService) ManagerExecutorService(org.openremote.manager.concurrent.ManagerExecutorService) MessageBrokerSetupService(org.openremote.container.message.MessageBrokerSetupService) SetupService(org.openremote.manager.setup.SetupService) ContainerService(org.openremote.container.ContainerService) MessageBrokerService(org.openremote.container.message.MessageBrokerService)

Aggregations

ArrayList (java.util.ArrayList)1 Protocol (org.openremote.agent.protocol.Protocol)1 Container (org.openremote.container.Container)1 ContainerService (org.openremote.container.ContainerService)1 MessageBrokerService (org.openremote.container.message.MessageBrokerService)1 MessageBrokerSetupService (org.openremote.container.message.MessageBrokerSetupService)1 TimerService (org.openremote.container.timer.TimerService)1 AgentService (org.openremote.manager.agent.AgentService)1 ConsoleAppService (org.openremote.manager.apps.ConsoleAppService)1 AssetAttributeLinkingService (org.openremote.manager.asset.AssetAttributeLinkingService)1 AssetProcessingService (org.openremote.manager.asset.AssetProcessingService)1 AssetStorageService (org.openremote.manager.asset.AssetStorageService)1 ManagerExecutorService (org.openremote.manager.concurrent.ManagerExecutorService)1 AssetDatapointService (org.openremote.manager.datapoint.AssetDatapointService)1 ClientEventService (org.openremote.manager.event.ClientEventService)1 I18NService (org.openremote.manager.i18n.I18NService)1 MapService (org.openremote.manager.map.MapService)1 NotificationService (org.openremote.manager.notification.NotificationService)1 ManagerPersistenceService (org.openremote.manager.persistence.ManagerPersistenceService)1 RulesService (org.openremote.manager.rules.RulesService)1