Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immutable interfaces? #19

Open
buko opened this issue Jul 15, 2017 · 0 comments
Open

Immutable interfaces? #19

buko opened this issue Jul 15, 2017 · 0 comments

Comments

@buko
Copy link

buko commented Jul 15, 2017

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants