Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can modify this behavior by adding some annotations that are modeled on the JAXB annotations, but which are defined in org.apache.cxf.aegis.java5. The present author wonders why these exist as opposed to Aegis simply respecting the corresponding JAXB annotations, but there you have themOr you can use the JAXB annotations: as of CXF 2.1, Aegis respects both. The supported annotations are:

...

If you are willing to use these, perhaps you should be using JAXB altogether. However, they do come in handy if you have some code where you absolutely can't modify the source, some code that you can, and you want to mix it together in a single web service. You can use these as more convenient ways of marking the files you can modify, and XML mapping files for the items that you can't modify.

Finally, XML mapping files allow you to apply detailed control for properties, classes, and methods via an XML specification.

There is also a procedure for adding custom mappings beyond the capabilties capabilities of these basic methods.

Basic Configuration and Options

...