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 2009/09/27 11:50:15 UTC

[jira] Created: (FELIX-1646) Add @Handler annotation to declare handlers without metadata.xml

Add @Handler annotation to declare handlers without metadata.xml
----------------------------------------------------------------

                 Key: FELIX-1646
                 URL: https://issues.apache.org/jira/browse/FELIX-1646
             Project: Felix
          Issue Type: Improvement
          Components: iPOJO
            Reporter: Guillaume Sauthier


Currently, only components can be declared using annotations.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-1646) Add @Handler annotation to declare handlers without metadata.xml

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

Guillaume Sauthier closed FELIX-1646.
-------------------------------------


> Add @Handler annotation to declare handlers without metadata.xml
> ----------------------------------------------------------------
>
>                 Key: FELIX-1646
>                 URL: https://issues.apache.org/jira/browse/FELIX-1646
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.6.0
>
>         Attachments: FELIX-1646.patch
>
>
> Currently, only components can be declared using annotations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-1646) Add @Handler annotation to declare handlers without metadata.xml

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

Clement Escoffier resolved FELIX-1646.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: iPOJO-1.6.0

I committed the patch (r 819462).

> Add @Handler annotation to declare handlers without metadata.xml
> ----------------------------------------------------------------
>
>                 Key: FELIX-1646
>                 URL: https://issues.apache.org/jira/browse/FELIX-1646
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.6.0
>
>         Attachments: FELIX-1646.patch
>
>
> Currently, only components can be declared using annotations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-1646) Add @Handler annotation to declare handlers without metadata.xml

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

Clement Escoffier reassigned FELIX-1646:
----------------------------------------

    Assignee: Clement Escoffier

> Add @Handler annotation to declare handlers without metadata.xml
> ----------------------------------------------------------------
>
>                 Key: FELIX-1646
>                 URL: https://issues.apache.org/jira/browse/FELIX-1646
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.6.0
>
>         Attachments: FELIX-1646.patch
>
>
> Currently, only components can be declared using annotations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1646) Add @Handler annotation to declare handlers without metadata.xml

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

Clement Escoffier commented on FELIX-1646:
------------------------------------------

I just closed the input stream.

> Add @Handler annotation to declare handlers without metadata.xml
> ----------------------------------------------------------------
>
>                 Key: FELIX-1646
>                 URL: https://issues.apache.org/jira/browse/FELIX-1646
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.6.0
>
>         Attachments: FELIX-1646.patch
>
>
> Currently, only components can be declared using annotations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-1646) Add @Handler annotation to declare handlers without metadata.xml

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

Guillaume Sauthier updated FELIX-1646:
--------------------------------------

    Attachment: FELIX-1646.patch

This patch includes @Handler and a @HandlerDeclaration annotations.

The first one is used to annotate a class that will becomes an iPOJO handler.
The second one is another annotation that can be used to delare, in the annotation, the XML that should have been placed in the metadata.xml

Just notice that the @HandlerDeclaration was not extensively tested...

> Add @Handler annotation to declare handlers without metadata.xml
> ----------------------------------------------------------------
>
>                 Key: FELIX-1646
>                 URL: https://issues.apache.org/jira/browse/FELIX-1646
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>         Attachments: FELIX-1646.patch
>
>
> Currently, only components can be declared using annotations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1646) Add @Handler annotation to declare handlers without metadata.xml

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

Guillaume Sauthier commented on FELIX-1646:
-------------------------------------------

Thanks

I noticed that I didn't closed the ByteArrayInputStream that I used to read the XML content.

> Add @Handler annotation to declare handlers without metadata.xml
> ----------------------------------------------------------------
>
>                 Key: FELIX-1646
>                 URL: https://issues.apache.org/jira/browse/FELIX-1646
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Guillaume Sauthier
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.6.0
>
>         Attachments: FELIX-1646.patch
>
>
> Currently, only components can be declared using annotations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.