Skip to content

WOInject 1.3.0

Latest
Compare
Choose a tag to compare
@hprange hprange released this 29 Jan 00:45
· 11 commits to master since this release

Features

Replace Javassist dependency with Byte Buddy (#15)

The Byte Buddy library is more efficient than Javassist regarding CPU and memory usage. It's also a lot easier to use. This solution doesn't require a custom class loader, which is another advantage.

This change added a new requirement. You now have to create an application runner to start the application correctly. An application runner is a pure Java class containing only a main method. See the WOInject Javadoc for more information.

We might add more options to start an application with WOInject in the future.

Add an interface to facilitate the provision of EOEnterpriseObjects (#16)

The EOProvider interface is a type of Provider that receives an EOEditingContext as a parameter and returns an instance of an EOEnterpriseObject. This interface is useful when one needs to fetch enterprise objects or insert them into the specified editing context while provisioning.