You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Sauthier (JIRA)" <ji...@apache.org> on 2012/11/07 16:27:12 UTC

[jira] [Created] (FELIX-3749) Refactor the manipulator for better (and extensible) annotation support

Guillaume Sauthier created FELIX-3749:
-----------------------------------------

             Summary: Refactor the manipulator for better (and extensible) annotation support
                 Key: FELIX-3749
                 URL: https://issues.apache.org/jira/browse/FELIX-3749
             Project: Felix
          Issue Type: Improvement
          Components: iPOJO
            Reporter: Guillaume Sauthier
             Fix For: ipojo-manipulator-1.8.8


The manipulator should be extensible for its annotation support.

Currently, only a fixed set of annotations is supported (hardcoded), and the only way to declares annotation for the manipulator is to follow some naming conventions ("handler" or "ipojo" in the package's name for example).

I want to be able to say to the manipulator that I want a given behavior to be associated to a particular annotation.
I also want to easily add to the manipulator external annotation supporting "modules".

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

[jira] [Updated] (FELIX-3749) Refactor the manipulator for better (and extensible) annotation support

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

Guillaume Sauthier updated FELIX-3749:
--------------------------------------

    Attachment: FELIX-3749.patch
    
> Refactor the manipulator for better (and extensible) annotation support
> -----------------------------------------------------------------------
>
>                 Key: FELIX-3749
>                 URL: https://issues.apache.org/jira/browse/FELIX-3749
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>             Fix For: ipojo-manipulator-1.8.8
>
>         Attachments: FELIX-3749.patch
>
>
> The manipulator should be extensible for its annotation support.
> Currently, only a fixed set of annotations is supported (hardcoded), and the only way to declares annotation for the manipulator is to follow some naming conventions ("handler" or "ipojo" in the package's name for example).
> I want to be able to say to the manipulator that I want a given behavior to be associated to a particular annotation.
> I also want to easily add to the manipulator external annotation supporting "modules".

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

[jira] [Commented] (FELIX-3749) Refactor the manipulator for better (and extensible) annotation support

Posted by "Simon Chemouil (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493055#comment-13493055 ] 

Simon Chemouil commented on FELIX-3749:
---------------------------------------

This seems great, thanks Guillaume! 
How does the new spi mechanism deal with old annotation handlers (that contain either ipojo or handler in their package)?

Do you plan on updating the website with some documentation on how to define custom handlers? That would be very welcome! 

Thanks again!
                
> Refactor the manipulator for better (and extensible) annotation support
> -----------------------------------------------------------------------
>
>                 Key: FELIX-3749
>                 URL: https://issues.apache.org/jira/browse/FELIX-3749
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>            Assignee: Clement Escoffier
>             Fix For: ipojo-manipulator-1.8.8
>
>         Attachments: FELIX-3749.patch
>
>
> The manipulator should be extensible for its annotation support.
> Currently, only a fixed set of annotations is supported (hardcoded), and the only way to declares annotation for the manipulator is to follow some naming conventions ("handler" or "ipojo" in the package's name for example).
> I want to be able to say to the manipulator that I want a given behavior to be associated to a particular annotation.
> I also want to easily add to the manipulator external annotation supporting "modules".

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

[jira] [Updated] (FELIX-3749) Refactor the manipulator for better (and extensible) annotation support

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

Guillaume Sauthier updated FELIX-3749:
--------------------------------------

    Attachment: FELIX-3749.patch

See https://github.com/sauthieg/felix/commits/manipulator-spi for the initial contribution
                
> Refactor the manipulator for better (and extensible) annotation support
> -----------------------------------------------------------------------
>
>                 Key: FELIX-3749
>                 URL: https://issues.apache.org/jira/browse/FELIX-3749
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>             Fix For: ipojo-manipulator-1.8.8
>
>         Attachments: FELIX-3749.patch
>
>
> The manipulator should be extensible for its annotation support.
> Currently, only a fixed set of annotations is supported (hardcoded), and the only way to declares annotation for the manipulator is to follow some naming conventions ("handler" or "ipojo" in the package's name for example).
> I want to be able to say to the manipulator that I want a given behavior to be associated to a particular annotation.
> I also want to easily add to the manipulator external annotation supporting "modules".

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

[jira] [Resolved] (FELIX-3749) Refactor the manipulator for better (and extensible) annotation support

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

Clement Escoffier resolved FELIX-3749.
--------------------------------------

    Resolution: Fixed
      Assignee: Clement Escoffier

Patch applied on trunk.
                
> Refactor the manipulator for better (and extensible) annotation support
> -----------------------------------------------------------------------
>
>                 Key: FELIX-3749
>                 URL: https://issues.apache.org/jira/browse/FELIX-3749
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>            Assignee: Clement Escoffier
>             Fix For: ipojo-manipulator-1.8.8
>
>         Attachments: FELIX-3749.patch
>
>
> The manipulator should be extensible for its annotation support.
> Currently, only a fixed set of annotations is supported (hardcoded), and the only way to declares annotation for the manipulator is to follow some naming conventions ("handler" or "ipojo" in the package's name for example).
> I want to be able to say to the manipulator that I want a given behavior to be associated to a particular annotation.
> I also want to easily add to the manipulator external annotation supporting "modules".

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

[jira] [Closed] (FELIX-3749) Refactor the manipulator for better (and extensible) annotation support

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

Guillaume Sauthier closed FELIX-3749.
-------------------------------------


Patch applied, doc updated
                
> Refactor the manipulator for better (and extensible) annotation support
> -----------------------------------------------------------------------
>
>                 Key: FELIX-3749
>                 URL: https://issues.apache.org/jira/browse/FELIX-3749
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>            Assignee: Clement Escoffier
>             Fix For: ipojo-manipulator-1.8.8
>
>         Attachments: FELIX-3749.patch
>
>
> The manipulator should be extensible for its annotation support.
> Currently, only a fixed set of annotations is supported (hardcoded), and the only way to declares annotation for the manipulator is to follow some naming conventions ("handler" or "ipojo" in the package's name for example).
> I want to be able to say to the manipulator that I want a given behavior to be associated to a particular annotation.
> I also want to easily add to the manipulator external annotation supporting "modules".

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

[jira] [Updated] (FELIX-3749) Refactor the manipulator for better (and extensible) annotation support

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

Guillaume Sauthier updated FELIX-3749:
--------------------------------------

    Attachment:     (was: FELIX-3749.patch)
    
> Refactor the manipulator for better (and extensible) annotation support
> -----------------------------------------------------------------------
>
>                 Key: FELIX-3749
>                 URL: https://issues.apache.org/jira/browse/FELIX-3749
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>             Fix For: ipojo-manipulator-1.8.8
>
>         Attachments: FELIX-3749.patch
>
>
> The manipulator should be extensible for its annotation support.
> Currently, only a fixed set of annotations is supported (hardcoded), and the only way to declares annotation for the manipulator is to follow some naming conventions ("handler" or "ipojo" in the package's name for example).
> I want to be able to say to the manipulator that I want a given behavior to be associated to a particular annotation.
> I also want to easily add to the manipulator external annotation supporting "modules".

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

[jira] [Commented] (FELIX-3749) Refactor the manipulator for better (and extensible) annotation support

Posted by "Guillaume Sauthier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502639#comment-13502639 ] 

Guillaume Sauthier commented on FELIX-3749:
-------------------------------------------

Documentation has been updated: http://felix.apache.org/site/dive-into-the-ipojo-manipulation-depths.html

Old annotation handler behavior is still working
                
> Refactor the manipulator for better (and extensible) annotation support
> -----------------------------------------------------------------------
>
>                 Key: FELIX-3749
>                 URL: https://issues.apache.org/jira/browse/FELIX-3749
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>            Assignee: Clement Escoffier
>             Fix For: ipojo-manipulator-1.8.8
>
>         Attachments: FELIX-3749.patch
>
>
> The manipulator should be extensible for its annotation support.
> Currently, only a fixed set of annotations is supported (hardcoded), and the only way to declares annotation for the manipulator is to follow some naming conventions ("handler" or "ipojo" in the package's name for example).
> I want to be able to say to the manipulator that I want a given behavior to be associated to a particular annotation.
> I also want to easily add to the manipulator external annotation supporting "modules".

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