cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bosschaert <david.bosscha...@gmail.com>
Subject Re: How to handle "applications" in OSGi that offer / consume cxf services and want to enforce application level rules
Date Wed, 24 Sep 2014 13:38:05 GMT
On 24 September 2014 15:03, Christian Schneider <chris@die-schneider.net> wrote:
> Hi David,
>
> I also still think it might be intersting to share a cxf bus between bundles
> to make it easier to configure common things. Any ideas about this?

Yes, this should be possible. The Composite Subsystem type allows you
to define the sharing policy. It basically allows you to declare what
APIs to export (and import) and the same for the services. So you
could think of a CXF subsystem that contains all of the CXF API and
implementation, but that only exports the public API and the public
services...

Just to give you an idea, you can define the sharing policy in the
SUBSYSTEM.MF file, using Import-Package/Export-Package and
Subsystem-ImportService/Subsystem-ExportService

Cheers,

David

Mime
View raw message