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 2013/06/12 14:06:20 UTC
[jira] [Closed] (FELIX-4095) Add CDI-like @Stereotype
[ https://issues.apache.org/jira/browse/FELIX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Sauthier closed FELIX-4095.
-------------------------------------
Resolution: Fixed
> 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