Enforcing Component Constraints
Marvin Addison
marvin.addison at gmail.com
Thu Jan 26 13:42:52 EST 2017
I was sharing some code with Daniel today and he mentioned that maybe the
same approach could be used to make @NotNull and other constraints enforce
the conditions at runtime. It's a combination of the new type annotations
feature of Java 8 [1] and Spring AOP. Let me know if you're interested and
I'll share some gists to clarify how it could work.
Thanks,
Marvin
[1] https://dzone.com/articles/java-8-type-annotations
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20170126/e542a668/attachment.html>
More information about the dev
mailing list