Right, that was the presentation that I missed, cause I had to catch my train. Why did all the stuff I really wanted to see end up at the very end..? ;) Thanks for pointing it out to me.
Really appreciate URL-tips, I'll definitely look into that, see if it solves my problem, although it would be neater to just modify the runtime model of the data (such as, simply modifying the headers-dictionary prior to installing/resolving) instead of some magic byte(-code or -stream, take your pick)-manipulations, but I suppose it'll do the trick. Thanks. On Thu, Jun 19, 2008 at 17:16, Mirko Jahn <[EMAIL PROTECTED]> wrote: > Hi Fredrik, > > people are already doing this. Have a look at the following > presentation from this years Community Event: > > http://www.osgi.org/wiki/uploads/CommunityEvent2008/30_knopflerfish-osgi-berlin-2008.pdf > > To get a hook of newly (to deploy bundles), take a look at the > SynchronousBundleListener (i.e. installed event). You probably need to > define your own way of introducing new jars to the various containers, > but in general it is straight forward. > > Cheers, > Mirko > > On Thu, Jun 19, 2008 at 4:36 PM, Fredrik Alströmer <[EMAIL PROTECTED]> wrote: > > 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 > > > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev >
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
