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

Reply via email to