felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Issac Garcia (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-3699) Allow annotations to handle custom component definitions.
Date Wed, 03 Oct 2012 08:36:07 GMT
Issac Garcia created FELIX-3699:

             Summary: Allow annotations to handle custom component definitions.
                 Key: FELIX-3699
                 URL: https://issues.apache.org/jira/browse/FELIX-3699
             Project: Felix
          Issue Type: New Feature
          Components: iPOJO
            Reporter: Issac Garcia

Custom components are well handled in iPOJO using the metadata.xml, for example:

<CustomComponent classname="MyClass" name="myCustomComponent">
    <requires field="service"/>

The custom component definition will, for example, add handlers and so on. It works very well
and is nice that iPOJO allows that kind of extensions. 

But we can't declare a custom component by using annotations, for example doing:

public class MyClass {...}

It will be a nice if iPOJO allows to do it using annotations, since the same functionality
must be possible with the metadata.mxl and with annotations.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message