Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MODE-824 Improved the Reflection.Properties framework to be more flexible about where it looks for annotations (they can be on fields, getters or setters), allowing for Java properties that are not mapped to fields. Also added annotations to the InMemoryRepositorySource and InfinispanSource classes.

All unit and integration tests pass.

git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2118 76366958-4244-0410-ad5e-bbfabb93f86b

  1. … 10 more files in changeset.
MODE-824 Changed how the representations of the properties are obtained from an object. Now, the Reflection class does all the work, and is able to find the category, label, and description using annotations rather than requiring the class implement an interface. This is much cleaner, and works with any POJO class. Additional unit tests were written to verify the annotations can reference the I18n internationalized messages or a literal value.

git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2110 76366958-4244-0410-ad5e-bbfabb93f86b

  1. … 5 more files in changeset.