You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2011/01/15 19:12:45 UTC

[jira] Created: (FELIX-2781) Expose the implementation class as service when no interface are found in the hierachy

Expose the implementation class as service when no interface 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.


[jira] Commented: (FELIX-2781) Expose the implementation class as service when no interfaces are found in the hierachy

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (FELIX-2781) Expose the implementation class as service when no interfaces are found in the hierachy

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier updated FELIX-2781:
-------------------------------------

    Summary: Expose the implementation class as service when no interfaces are found in the hierachy  (was: Expose the implementation class as service when no interface are found in the hierachy)

> 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.


[jira] Resolved: (FELIX-2781) Expose the implementation class as service when no interfaces are found in the hierachy

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier resolved FELIX-2781.
--------------------------------------

    Resolution: Fixed

> 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.