@@ -0,0 +1,678 @@
+package com.celements.navigation.service;%0A%0Aimport javax.validation.constraints.NotNull;%0A%0Aimport org.xwiki.component.annotation.ComponentRole;%0A%0Aimport com.celements.navigation.INavigation;%0A%0A@ComponentRole%0Apublic interface NavigationFactory%3CT%3E %7B%0A%0A  /**%0A   * createNavigation with configuration related to current execution context%0A   *%0A   * @return new Navigation object%0A   */%0A  @NotNull%0A  public INavigation createNavigation();%0A%0A  /**%0A   * createNavigation with configuration related to the configReference which type is implementation%0A   * dependent.%0A   *%0A   * @return new Navigation object%0A   */%0A  @NotNull%0A  public INavigation createNavigation(@NotNull T configReference);%0A%0A%7D%0A

add NavigationFactory role.