Of course you can always create new instance (admin:create <instanceName>)
and deploy your application there. That way you can also easily restart
instances without taking down all the deployed applications on other
instances.

http://karaf.apache.org/47-administration.html

Greets,
Geert.



> Yes, there's a plan to do so, but currently there's no standard way of
> doing so.  In a few months, OSGi Core 4.3 should get out and will
> provide support for doing that through so called "resolver hooks" so
> that a part of the framework can be isolated from other bundles.
> On a side note, this comes from a requirement to do exactly that and
> the main driver is the subsystem specs which is being worked on in
> Aries and the OSGi alliance and that will provide a standard for
> deploying applications in OSGi (including isolation).
> Once the hooks are available, I think Karaf features could also be
> made isolated.
>
> That said, you can already use Aries EBA inside ServiceMix afaik, so
> feel free to use that for now if you really need runtime isolation
> (does EBA applications really provide that yet?), but it has to be
> using some equinox specific mechanism I suppose.
>
> On Fri, Dec 17, 2010 at 07:54,  <[email protected]> wrote:
>> Hi there,
>>
>> I'm trying to use ServiceMix 4 to deploy an OSGi application that
>> consists
>> of multiple bundles. These bundles provide some services which I don't
>> like to be visible for other bundles. I also don't like other bundles to
>> see exported packages of my bundles in my application.
>>
>> Is it possible to isolate an entire application? I need something like
>> Apache Aries' EBA analogy or Virgo's (ex- SpingDM Server) Plan, PAR.
>>
>> I can make my app to be a bundle with multiple jars in Bundle_ClassPath,
>> without any imports/exports and without providing any services. Is it an
>> appropriate solusion for now? Is there any plans to add features like
>> "application scope" to ServiceMix?
>>
>>
>> Regards,
>> Sergey
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
>
>


Reply via email to