So I finally went ahead and published/released WildFly Common
1.0.0.Alpha1. It contains the following:
• Assertions and validations with standard messages (and IDs) for common
conditions such as:
• Null method parameters
• Assertions for holding/not holding monitor objects
• Assertions for nullability of values
• Exceptions for unreachable code and impossible switch statements
• Utilities for reference types that are cleaned in a background thread
• Utilities for defining and using selector pattern Selectors (i.e.
where you have to locate an object like a service provider from a static
context)
Here's the info on how to get/use it:
• License: ASL 2.0
• JDK: 1.7 or higher
• Maven: org.wildfly.common:wildfly-common:1.0.0.Alpha1
• GitHub:
https://github.com/wildfly/wildfly-common
• JavaDoc:
http://wildfly.github.io/wildfly-common/
• JIRA: None at present, just use
https://github.com/wildfly/wildfly-common/issues for now and I'll
revisit later
More info about the project:
•
http://dmlloyd.github.io/presentations/wildfly-common/index.html
--
- DML