geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Kofler (JIRA)" <>
Subject [jira] [Commented] (XBEAN-186) Move OSGI dependency of XBEAN Finder (to Bundle Utils)
Date Wed, 07 Sep 2011 08:35:10 GMT


Peter Kofler commented on XBEAN-186:

>I don't understand why this is an improvement. I think its just as likely that someone
wants to use bundleutils without the finder as finder without osgi.
You are right. Better would be a "pure" finder, finder-OSGI (which depends on bundleutils)
and bundleutils. So both packages would be low-level. On the other hand a new module with
just 3 classes seems a bit of an overhead for an OSGI-finder.

Please note that our "hidden" agenda is to free finder of all dependencies, so it could be
used as a starting point of commons-classscan (or similar). commons-classscan should not depend
on OSGI, just on asm and later bcel. So I agree with Mark that the basic finder without OSGI
should be the target.

So if you do not think inverting the dependencies is a good idea, then we could create a new
module, call it finder-bundle-extension or sth. It's similar easy and could be done quickly.
But as I said, that does not feel proper for me, as this module would be anemic.

> Move OSGI dependency of XBEAN Finder (to Bundle Utils)
> ------------------------------------------------------
>                 Key: XBEAN-186
>                 URL:
>             Project: XBean
>          Issue Type: Improvement
>            Reporter: Peter Kofler
>         Attachments: XBEAN-186.patch
> The XBEAN Finder is depending on OSGI and xbean-bundleutils. This is not desireable.
We invert the dependency so that all Finder logic that uses OSGI is moved into bundleutils
and bundleutils depends on finder then. So the finder is general without any dependencies
and the OSGI finder logic is in bundleutils.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message