XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5
    • Component/s: Relations
    • Impact type:
      Configuration format change
    • Upgrade notes:
      Hide

      When registering a new graph type (which user code will never do), instead of just doing:
      <graphtype name="mytype" class="org.example.graph.MyGraph" />
      You can also do:
      <graphtype name="mytype" class="org.example.graph.MyGraphFactory" />
      where the factory implements org.nuxeo.ecm.platform.relations.api.GraphFactory.

      Show
      When registering a new graph type (which user code will never do), instead of just doing: <graphtype name="mytype" class="org.example.graph.MyGraph" /> You can also do: <graphtype name="mytype" class="org.example.graph.MyGraphFactory" /> where the factory implements org.nuxeo.ecm.platform.relations.api.GraphFactory.

      Description

      Today relation graph types are configured using the class of the graph itself.
      It should be possible to use a factory in order to have more logic to decide what graph to instantiate.

        Attachments

          Activity

            People

            • Assignee:
              fguillaume Florent Guillaume
              Reporter:
              fguillaume Florent Guillaume
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: