Skip to content

Commit

Permalink
Fixed startup order
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Bauer committed Feb 16, 2017
1 parent 5a7ee6d commit 1d10888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public static void main(String[] args) throws Exception {
new MessageBrokerSetupService(),
new ManagerIdentityService(),
new PersistenceService(),
new SetupService(),
new EventService(),
new AssetService(),
new AgentService()
Expand All @@ -57,7 +58,6 @@ public static void main(String[] args) throws Exception {
addAll(Arrays.asList(
new MapService(),
new MessageBrokerService(),
new SetupService(),
new ManagerWebService()
));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ trait ManagerContainerTrait extends ContainerTrait {
new MessageBrokerSetupService(),
new ManagerIdentityService(),
new PersistenceService(),
new SetupService(),
new EventService(),
new AssetService(),
new AgentService(),
*Lists.newArrayList(ServiceLoader.load(Protocol.class)),
new MapService(),
new MessageBrokerService(),
new SetupService(),
new ManagerWebService(),
*additionalServices

Expand Down

0 comments on commit 1d10888

Please sign in to comment.