Have a look at HttpTransportActivator in rt/transports/http

Sergey
On 07/09/15 13:43, Benson Margulies wrote:
No, not dosgi.

I think this is a simple question, actually.

Here's what is going on: When in OSGi, CXF publishes its servlet to
the whiteboard. Then, the CXF blueprint beans register services as
usual.

I'm guessing that CXF plugs into the whiteboard in the OSGi
environment whether or not anyone ever uses a CXF blueprint bean, but
I was hoping for confirmation.



On Mon, Sep 7, 2015 at 5:39 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote:
Hi Benson

I honestly do not know.
Is DS similar to Distributed OSGI ?
Actually, I see:

https://github.com/apache/cxf-dosgi/tree/master/samples/ds
https://github.com/apache/cxf-dosgi/blob/master/samples/ds/impl/src/main/resources/OSGI-INF/component.xml

I wonder if DOSGI is needed for a CXF endpoint be set up from a DS context ?
I'm not sure if other alternatives are available, i.e, can that be easily
supported if needed with some Activator, etc. Perhaps a plan to use a
factory directly will work best without having to use DOSGI unless one
prefers use DOSGI.

Does DS has some annotations ? If some we'd probably be able to have some
support similar to Spring @Bean, etc support we have...

Cheers, Sergey


On 07/09/15 00:35, Benson Margulies wrote:

I'm thinking of trying an experiment with declarative services.

If I just call the plain old factory API to create a JAX-RS service,
will it plug into the whiteboard without a fuss, or is there something
that the blueprint stuff does that I need to attend to?





--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to