On 26 February 2013 00:27, Felix Meschberger <[email protected]> wrote:
> Hi,
>
> Ok, I understand. Yet your solution is quite intrusive (requires code changes 
> and Code Dependencies).
>
> OTOH: I just was made aware of JAMon [1]. It looks like this may do a lot of 
> things but is not intrusive since it seems to transparently work with 
> wrappers and proxies.
>
> WDYT ?
>

It looks interesting however the license [1] will be a problem. Its
wording looks like BSD but only allows binary code redistribution.
Thats not really open source and makes me worry about sustainability ?

But I like the approach, almost like Mockito with

MonitorFactory.proxy(Repository.class).login();

What happens when you use aspects or CGLib with OSGi ?
Ideally we would want to be able to monitor classes not exported.
Has anyone tried ?



1 http://jamonapi.sourceforge.net/JAMonLicense.html


<snip>

Reply via email to