javaee / jaxb2-commons

JAXB Implementation project has been contributed to Eclipse Foundation. This repository is for legacy review only. Please refer to the Eclipse EE4J Metro project for the very latest
https://eclipse-ee4j.github.io/jaxb-ri/
Other
17 stars 15 forks source link

JAXB 2.1 Property Change Listener Injector Plugin #4

Open glassfishrobot opened 17 years ago

glassfishrobot commented 17 years ago

First of all, thanks for the plug-in.

@@@@

The plug-in does not create bound properties as advertised but constrained properties.

http://java.sun.com/docs/books/tutorial/javabeans/properties/bound.html

http://java.sun.com/docs/books/tutorial/javabeans/properties/constrained.html

Using Bound properties is much more common than using constrained.

So make the creation of bound default and offer customization to create constrained.

Environment

Operating System: All Platform: All

Affected Versions

[current]

glassfishrobot commented 17 years ago

Reported by sdavids

glassfishrobot commented 17 years ago

sdavids said: Another customization would be to make the created *ChangeSupport transient.

It is not always neccessary or wanted to serialize all listeners.

glassfishrobot commented 17 years ago

sdavids said: Created an attachment (id=2) patch is against jaxb2-commons

glassfishrobot commented 17 years ago

sdavids said: Includes parameter to set default property type: simple, bound, constrained, both

Includes customizations:

Includes documentation (index.html)

glassfishrobot commented 17 years ago

sdavids said: The patch doesn't work with:

and "constrained" or "both" I do not know why the generated interface does not have the same signature as the implementation class.
glassfishrobot commented 17 years ago

kohsuke said: Assigning it to Jerome so that it gets his attention.

glassfishrobot commented 10 years ago

lexi said: Seems like the plugin was not ported.

glassfishrobot commented 17 years ago

File: patch.txt Attached By: sdavids

glassfishrobot commented 17 years ago

Was assigned to dochez

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAXB2_COMMONS-4