Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Annotations those put to ipojo components along with @Component annotation are treated as custom handler annotations. This make it impossible to put annotations to components for other purposes.
There are plenty of codes depend on reading run-time visible annotations at run-time. Due to current behavior of annotation processing we're lefting out those codes.
Besides there is no point in making handler annotation runtime visible, since handler itself will already see those annotation in generated metadata. Also reading handler annotation's attributes at run-time is clear design inefficiency and does not worth to left out all existing codes depend on runtime visible annotations.
Lefting out annotations with runtime retention policy at handler metadata generation will fix all those issues above.
This change won't affect current IPojo code and any custom handler implementation I know of, though it'll improve the component's capability to engage with other 3th party codes mentioned above.
Attachments
Issue Links
- is superceded by
-
FELIX-4112 Add meta annotations for handler description
- Closed