Skip to content

Immutable interfaces? #19

@buko

Description

@buko

Very cool plugin. Good work.

I'm wondering if you'd be interesting in supporting immutable interfaces? In this model:

  • All Jaxb classes of name [Type] are renamed to [Type]Impl
  • All Impl classes implement an interface (in a different package) and that interface is immutable.

The goal here would be to support "practical immutability" for only certain consumers -- ie message handlers. This also supports efficient pooling and reuse of objects (once we figure out how to reinitialize a JAXB object.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions