castor
  1. castor
  2. CASTOR-1734

Create strategy implementation(s) for class name conflict resolution.

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.5
    • Fix Version/s: 1.1 M1
    • Component/s: XML code generator
    • Labels:
      None
    • Number of attachments :
      1

      Description

      Create strategy for class name conflict resolution, including - as a first step - the interface, and a default implementation for emitting warnings on the console and asking user for confirmation, duplicating current behaviour. As part of separate sub-tasks, additional strategy implementations will be created and added to the code base.

        Activity

        Hide
        Werner Guttmann added a comment -

        Initial patch for review.

        Show
        Werner Guttmann added a comment - Initial patch for review.
        Hide
        Werner Guttmann added a comment -

        Just as an FYI, no, the factory implementation is not considered to be final, but is enough to get this effort going (and will enable me and Matthias to start implementing new class name conflict strategies, that will hopefully provide our users with much improved and more usable conflict resolution mechanisms.

        Show
        Werner Guttmann added a comment - Just as an FYI, no, the factory implementation is not considered to be final, but is enough to get this effort going (and will enable me and Matthias to start implementing new class name conflict strategies, that will hopefully provide our users with much improved and more usable conflict resolution mechanisms.
        Hide
        Edward Kuns added a comment -

        Looks like a good start.

        Show
        Edward Kuns added a comment - Looks like a good start.
        Hide
        Werner Guttmann added a comment -

        So let me commit this, and Matthias and I will be adding some new strategy implementations within the next few weeks.

        Show
        Werner Guttmann added a comment - So let me commit this, and Matthias and I will be adding some new strategy implementations within the next few weeks.
        Hide
        Werner Guttmann added a comment -

        Ralf, what mechanism would you use for registering more than one strategy and selecting the desired one ? Same as for e.g. registering and selecting TransactionManagerFactories ?

        Show
        Werner Guttmann added a comment - Ralf, what mechanism would you use for registering more than one strategy and selecting the desired one ? Same as for e.g. registering and selecting TransactionManagerFactories ?
        Hide
        Ralf Joachim added a comment -

        Yes

        Show
        Ralf Joachim added a comment - Yes
        Hide
        Werner Guttmann added a comment -

        That's what I thought ..... will tackle this as part of a separate issue.

        Show
        Werner Guttmann added a comment - That's what I thought ..... will tackle this as part of a separate issue.

          People

          • Assignee:
            Werner Guttmann
            Reporter:
            Werner Guttmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 3 hours, 45 minutes
              3h 45m
              Remaining:
              Time Spent - 40 minutes Remaining Estimate - 3 hours, 5 minutes
              3h 5m
              Logged:
              Time Spent - 40 minutes Remaining Estimate - 3 hours, 5 minutes
              40m