Uploaded image for project: 'XWork'
  1. XWork
  2. XW-928

Allow extending Builders

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.3
    • Configuration
    • None

    Description

      PackageConfig, ActionConfig, ResultConfig, ExceptionMappingConfig, InterceptorConfig, InterceptorStackConfig, and ValidatorConfig all use the Builder pattern. Unfortunately, these Builders prevent derived classes. The instance variables of the target and the instance variables of the Builder must be protected. It's not pretty even with that change, but at least this makes it possible.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jafl5272 John Lindal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: