3.0
===
- The 3.0 release introduces typesafe enums in place of interface constants.
This implies a light change in the spring definition files.
For instance instead of referring to static beans definitions like :
You will now use direct enum injection :
see http://sourceforge.net/tracker2/index.php?func=detail&aid=2319923&group_id=231671&atid=1083851
- The 3.0 release changes the way interceptors are declared in components and properties.
This is due to the fact the interceptors classes reference their owning component classes, thus
introducing a circular dependency that is unresolvable during the build whenever entities
and components are not available yet (not yet generated) making the spring context unable
to instanciate.
This leads to a mandatory change in the spring definitions files. Instead of referencing
interceptors instances directly in the component and property descriptors, the developer
must register the interceptor class names. The change is actually straightforward as
detailed below :
For lifecycle interceptors, you must change definitions like :
with :
org.jspresso.hrsample.model.service.TraceableLifecycleInterceptor
Same kind of modification for property processors :
becomes :
org.jspresso.hrsample.model.processor.EmployeePropertyProcessors$FirstNameProcessor
And finally, same modification for service delegates :
becomes :
- The 3.0 release changes the framework artifacts group from org.jspresso to org.jspresso.framework.
You must update your POMs accordingly.