[
https://issues.apache.org/jira/browse/FELIX-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982143#action_12982143
]
Clement Escoffier commented on FELIX-2781:
------------------------------------------
Fixed in trunk,
When a component is configured to 'provide' a service but do not implement any
interfaces, the implementation class is exposed as service.
> Expose the implementation class as service when no interfaces are found in
> the hierachy
> ---------------------------------------------------------------------------------------
>
> Key: FELIX-2781
> URL: https://issues.apache.org/jira/browse/FELIX-2781
> Project: Felix
> Issue Type: Improvement
> Components: iPOJO
> Reporter: Clement Escoffier
> Fix For: iPOJO-1.8.0
>
>
> When a component does not implement any interface, iPOJO throws an error. It
> should just warn the user and expose the implementation class as service:
> @Component
> @Provides
> public class Dummy {
> ...
> }
> exposes a service with the xxx.Dummy object class
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.