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/01 21:57:20 UTC
[jira] [Created] (FELIX-4095) Add CDI-like @Stereotype
Guillaume Sauthier created FELIX-4095:
-----------------------------------------
Summary: Add CDI-like @Stereotype
Key: FELIX-4095
URL: https://issues.apache.org/jira/browse/FELIX-4095
Project: Felix
Issue Type: New Feature
Components: iPOJO
Reporter: Guillaume Sauthier
Assignee: Guillaume Sauthier
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