Hi People,

I've been having this idea, and I was trying it out a little (using equinox)
but it didn't work very well (not at all actually), and I thought before I
try too much, I'll ask the experts, if this is even viewed as acceptable
behavior.

Here's the thing, I'm trying to intercept bundles before they're evaluated
by the framework (imagine if you will a synchronous 'installing' event,
which I couldn't find anywhere). For example, I'd like to inspect the
contents of the bundle, and 'manipulate' it without actually having to do so
as a preprocessing step. As a hypothetical example, let's say we want to
define an import-package, and then defining a bundle-activator, using a
class from the specified import-package. I realize there are serious
security concerns here, so I'm just trying to get a feel for it.

What I'm getting at is, using archives that are built for other frameworks,
or other situations, and tweaking them at runtime to appear as OSGi bundles,
without actually having to modify the archive.

Does that seem possible at all?

Greetings,
Fredrik.
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to