felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clement Escoffier (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-4095) Add CDI-like @Stereotype
Date Wed, 12 Jun 2013 12:06:19 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Clement Escoffier updated FELIX-4095:
-------------------------------------

        Fix Version/s: ipojo-manipulator-1.10.1
    Affects Version/s: ipojo-manipulator-1.10.0
    
> Add CDI-like @Stereotype
> ------------------------
>
>                 Key: FELIX-4095
>                 URL: https://issues.apache.org/jira/browse/FELIX-4095
>             Project: Felix
>          Issue Type: New Feature
>          Components: iPOJO
>    Affects Versions: ipojo-manipulator-1.10.0
>            Reporter: Guillaume Sauthier
>            Assignee: Guillaume Sauthier
>             Fix For: ipojo-manipulator-1.10.1
>
>
> I'd like to provide a @Stereotype meta-annotation that will decorate a user-defined annotation.
> All annotations decorating that user-defined annotation are recorded and replayed when
the stereotyped annotation is found
> Example: 
> @Component(architecture = false)
> @Instantiate
> @Stereotype
> public @interface IntantiableComponent {}
> Usage:
> @InstantiableComponent
> public class MyComponent {}
> Is the same as:
> @Component(architecture = false)
> @Instantiate
> public class MyComponent {}
> but reusable :)

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

Mime
View raw message