[JBoss JIRA] (JBOSGI-775) ServiceLoader should work with module dependencies and capabilities
by Arcadiy Ivanov (JIRA)
[ https://issues.jboss.org/browse/JBOSGI-775?page=com.atlassian.jira.plugin... ]
Arcadiy Ivanov commented on JBOSGI-775:
---------------------------------------
The following statements taken from the test case allow to load Java services:
{noformat}
DynamicImport-Package: META-INF.services,
org.jboss.test.osgi.framework.serviceloader.*
Dependencies: moduleA meta-inf
{noformat}
* {{meta-inf}} can be replaces with {{services}} per [WildFly 8 Classloading|https://docs.jboss.org/author/display/WFLY8/Class+Loading+in...]
* {{Dependencies}} are unnecessary if the capabilities are specified in the JBOSGI WildFly Subsystem configuration.
* {{DynamicImport-Package}} may be {{*}}, but that will increase the classloading overhead. It's better to increase dynamic package import specificity to speed up classloading.
> ServiceLoader should work with module dependencies and capabilities
> -------------------------------------------------------------------
>
> Key: JBOSGI-775
> URL: https://issues.jboss.org/browse/JBOSGI-775
> Project: JBoss OSGi
> Issue Type: Enhancement
> Components: framework, resolver
> Affects Versions: JBossOSGi 2.2.0
> Reporter: Arcadiy Ivanov
> Assignee: Arcadiy Ivanov
> Fix For: JBossOSGI 2.3.1
>
>
> A bundle should be able to load Java SPI services from modules turned into OSGi Framework capabilities or from modules on which OSGi Bundle declares explicit MSC dependency with services and/or meta-inf option.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years
[JBoss JIRA] (JBOSGI-775) ServiceLoader should work with module dependencies and capabilities
by Arcadiy Ivanov (JIRA)
[ https://issues.jboss.org/browse/JBOSGI-775?page=com.atlassian.jira.plugin... ]
Arcadiy Ivanov updated JBOSGI-775:
----------------------------------
Summary: ServiceLoader should work with module dependencies and capabilities (was: ServiceLoader should work with module-based dependencies or capabilities)
> ServiceLoader should work with module dependencies and capabilities
> -------------------------------------------------------------------
>
> Key: JBOSGI-775
> URL: https://issues.jboss.org/browse/JBOSGI-775
> Project: JBoss OSGi
> Issue Type: Enhancement
> Components: framework, resolver
> Affects Versions: JBossOSGi 2.2.0
> Reporter: Arcadiy Ivanov
> Assignee: Arcadiy Ivanov
> Fix For: JBossOSGI 2.3.1
>
>
> A bundle should be able to load Java SPI services from modules turned into OSGi Framework capabilities or from modules on which OSGi Bundle declares explicit MSC dependency with services and/or meta-inf option.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years
[JBoss JIRA] (JBOSGI-775) ServiceLoader should work with module-based dependencies or capabilities
by Arcadiy Ivanov (JIRA)
Arcadiy Ivanov created JBOSGI-775:
-------------------------------------
Summary: ServiceLoader should work with module-based dependencies or capabilities
Key: JBOSGI-775
URL: https://issues.jboss.org/browse/JBOSGI-775
Project: JBoss OSGi
Issue Type: Enhancement
Components: framework, resolver
Affects Versions: JBossOSGi 2.2.0
Reporter: Arcadiy Ivanov
Assignee: Arcadiy Ivanov
Fix For: JBossOSGI 2.3.1
A bundle should be able to load Java SPI services from modules turned into OSGi Framework capabilities or from modules on which OSGi Bundle declares explicit MSC dependency with services and/or meta-inf option.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years
[JBoss JIRA] (JBOSGI-774) Cleanup solution for JBOSGI-567
by Arcadiy Ivanov (JIRA)
[ https://issues.jboss.org/browse/JBOSGI-774?page=com.atlassian.jira.plugin... ]
Arcadiy Ivanov updated JBOSGI-774:
----------------------------------
Description:
JBOSGI-567 solution introduced AbstractBundleRevisionAdaptor detecting if OSGiMetaData was present in the attachment and creating one if it wasn't.
This solution, however usurps the responsibility from ModuleIdentityRepositoryIntegration and copies code from ModuleIdentityRepository.
> Cleanup solution for JBOSGI-567
> -------------------------------
>
> Key: JBOSGI-774
> URL: https://issues.jboss.org/browse/JBOSGI-774
> Project: JBoss OSGi
> Issue Type: Task
> Components: framework, wildfly
> Reporter: Arcadiy Ivanov
> Assignee: Arcadiy Ivanov
> Fix For: JBossOSGI 2.3.1
>
>
> JBOSGI-567 solution introduced AbstractBundleRevisionAdaptor detecting if OSGiMetaData was present in the attachment and creating one if it wasn't.
> This solution, however usurps the responsibility from ModuleIdentityRepositoryIntegration and copies code from ModuleIdentityRepository.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years