Pi4J / pi4j-v2

Pi4J Version 2.0
Apache License 2.0
280 stars 62 forks source link

Improve the annotations-implementation #22

Open FDelporte opened 4 years ago

FDelporte commented 4 years ago

@Annotations is an area that needs to be improved in the code. A standards-based approach for dependency injection and handling Pi4J specific annotations needs to be investigated

Annotations are also a feature that could be removed from an initial release and added later.

These two examples show the idea of how the annotations could offer users internals of annotated syntax:

FDelporte commented 4 years ago

Further to be investigated:

FDelporte commented 4 years ago

As agreed with @savageautomate the existing initial implementation has been stripped out of the master branch but is still available in https://github.com/Pi4J/pi4j-v2/tree/feature/%2322-annotations. To be decided later if and how we want to re-add this for a future version and/or if this should be a separate project.