How should I go about passing data from a Spring Boot application to a library that the application uses (a library owned and controlled by me)?
Can this be done through a class-level annotation like @GetMe(name = "foobar")
? If yes, how can the name
property then be retrieved by the library and used in its Java classes? Is the Java Reflection API a must-use in this case or is there a cleaner way to fetch an annotation's values?