Monday, May 21, 2007

JFacets 2.1 with Instance Facets !

JFacets 2.1 has just been released, with support for Instance Facets !

Until now, facets were bound to types (Class or Interface), but you could not easily attach a facet to an instance of a given type... Well, now you can, using InstanceFacets !

A new interface has been introduced (IInstanceFacet - javadocs here), that defines a callback method that you have to implement in order to decide if the facet matches the target object or not.

This new release is available for download on sf.net. It doesn't break compatibility, so you can upgrade your jfacets jar without breaking anything to your app.

Enjoy !

1 comment:

Anonymous said...
This comment has been removed by a blog administrator.