Open issues

Support inter bundle producer methods

Description

Inter bundle producer methods don't seem to be supported.

I tried several things, but it doesn't seem to work.

I guess since in PAX-CDI inter bundle bean injections has to use the OSGi service registry, the @OsgiServiceProvider annotation is also used for producer methods.

And since I want a different instance for each injection point, I guess I need the prototype scope.

So I tried (among other things):

And on the consumer side I tried:

But it's not working.

I'm getting different exceptions depending on the execution environment.

Eg. with Pax Exam:

And in my project environment I'm getting even if I don't have a consumer:

Environment

None

Assignee

Harald Wellmann

Reporter

Florian Brunner

Labels

None

Affects versions

Priority

Critical
Configure