cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] [Updated] (CXF-6131) JAX-RS resource spring auto-discovery doesn't work in OSGi
Date Tue, 28 Mar 2017 16:14:41 GMT


Daniel Kulp updated CXF-6131:
    Component/s: OSGi

> JAX-RS resource spring auto-discovery doesn't work in OSGi
> ----------------------------------------------------------
>                 Key: CXF-6131
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS, OSGi
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
> It is due to in OSGi container, the spring PathMatchingResourcePatternResolver doesn't
know the bundle:// URL so can't scan the package and get the resource.  
> If it's in OSGi container and spring-dm (1.2 style) is used, we can set the TCCL as bundle
BundleDelegatingClassLoader and use OsgiBundleResourcePatternResolver to scan the package
inside a certain bundle.
> Though in OSGi the blueprint configuration is suggested to use and we actually have another
issue[1] to add blueprint support for jaxrs auto-discovery,  add spring-dm 1.2 support should
be good also as people may still use it.
> [1]

This message was sent by Atlassian JIRA

View raw message