Hi Frederik

Equinox has support for this with with the transforms bundle
(http://wiki.eclipse.org/Equinox_Transforms) which is part of the equinox
download
(http://ganymede-mirror1.eclipse.org/eclipse/equinox/drops/I20080617-2000/index.php)
Feel free to ask question on the equinox newgroup.

HTH,

PaScaL



|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"Fredrik Alströmer" <[EMAIL PROTECTED]>                                      
                                                                           |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                                       
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |06/19/2008 10:40 AM                                                          
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[osgi-dev] Manipulating bundles at runtime.                                  
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





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

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

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

Reply via email to