[
https://issues.apache.org/jira/browse/KARAF-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242245#comment-13242245
]
Tuomas Kiviaho commented on KARAF-608:
--------------------------------------
I hope that URL protocol issue solution mentioned in KARAF-918 would also make
it possible to get rid of CustomBundleURLStreamHandlerFactory that is used in
the maven plugin. Currently the maven plugin registers this one to make feature
service's url resolution work. Problem is that there is no proper way to unset
it and it will be delivered across maven plugins from then on (a.k.a. leaking
the classloader). If I understood correctly the idea is to use URL stream
handler service instead. I think this solution could be mimicked on maven
plugin side as well by inspecting Pax URL manifests for exported services for
instance. Making use of ServiceLoader would be cleaner and simpler approach but
I don't think that Pax URL currently supports this.
> Allow for multi-stage boot features installation
> ------------------------------------------------
>
> Key: KARAF-608
> URL: https://issues.apache.org/jira/browse/KARAF-608
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-feature
> Affects Versions: 2.1.5, 2.2.0
> Reporter: Gert Vanthienen
> Fix For: 2.2.6, 3.0.0
>
>
> Currently, all boot features specified are installed in a single go: all the
> bundles get installed, resolved and then afterwards get started. This works
> fine for most features, but there are a few scenarios where it would be nice
> to allow installing the boot features in a few independent batches.
> One example is ServiceMix' use of OBR in the features. You can install OBR
> support through a feature, but it needs to be installed before resolving the
> other features to allow the Features' OBR Resolver support to kick in. We
> have now worked around this in ServiceMix by adding the OBR feature's bundle
> to the startup.properties file, but it would be nice to have a simpler
> solution.
> Another example is a feature that include a war: url for adding web
> applications. That requires the war feature to be installed and started
> before attempting the installation of the web application feature.
> We could e.g. allow adding parentheses to group parts of the boot features
> that need to be installed in a single batch. Something like
> (obr,war),activemq,cxf,camel,jbi could install the 'war' and 'obr' feature in
> a first batch and the do the rest as usual.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira