[hibernate-commits] [hibernate/hibernate-validator] 23acfd: HV-740 Removing beans.xml. Interceptor is now regi...

GitHub noreply at github.com
Fri May 10 04:25:13 EDT 2013


  Branch: refs/heads/HV-740
  Home:   https://github.com/hibernate/hibernate-validator
  Commit: 23acfd402d348dfae4d836fa21ec85a5f5763106
      https://github.com/hibernate/hibernate-validator/commit/23acfd402d348dfae4d836fa21ec85a5f5763106
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/cdi/ValidationExtension.java
    M engine/src/main/java/org/hibernate/validator/internal/cdi/interceptor/ValidationInterceptor.java
    R engine/src/main/resources/META-INF/beans.xml
    M engine/src/test/java/org/hibernate/validator/test/internal/cdi/ValidationExtensionTest.java
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/InterceptorTest.java

  Log Message:
  -----------
  HV-740 Removing beans.xml. Interceptor is now registered programmatically via BeforeBeanDiscovery.addAnnotatedType(). Also using @Priority to set the interceptor priority

This way not the whole jar gets scanned for beans. Also started to use metadata to determine whether a method needs to be intercepted


  Commit: 9086e45ab682c23822a28219c67b42665a526a0e
      https://github.com/hibernate/hibernate-validator/commit/9086e45ab682c23822a28219c67b42665a526a0e
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/pom.xml
    M integration/as/pom.xml
    M integration/weld/pom.xml
    M pom.xml

  Log Message:
  -----------
  HV-740 Removing obsolete dependency to jboss-javaee-6.0. Adding explicit dependency to javax.annotation for getting @Priority and also explicit dependency to interceptor api containing @AroundConstruct


  Commit: 76dae3a9b505c5eefe993932270043bfc8460c25
      https://github.com/hibernate/hibernate-validator/commit/76dae3a9b505c5eefe993932270043bfc8460c25
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/cdi/ValidationExtension.java
    M engine/src/main/java/org/hibernate/validator/internal/cdi/interceptor/MethodValidated.java
    M engine/src/main/java/org/hibernate/validator/internal/xml/BootstrapConfigurationImpl.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/cdi/InjectionTest.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/cdi/InterceptorDisabledForValidateExecutableNoneTest.java
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/InterceptorTest.java
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/RepeaterImpl.java
    R integration/weld/src/test/java/org/hibernate/validator/integration/cdi/ValidatorFactoryInjectionTest.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/util/TestHelper.java
    M integration/weld/src/test/resources/log4j.properties
    A integration/weld/src/test/resources/org/hibernate/validator/integration/cdi/validation-validate-executable-none.xml
    M pom.xml

  Log Message:
  -----------
  HV-740 Updating tests and switching to CR6 of Arquillian Weld containers


  Commit: e5f9054bb15ddebc02a56cac9c37197eeaa10eae
      https://github.com/hibernate/hibernate-validator/commit/e5f9054bb15ddebc02a56cac9c37197eeaa10eae
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/cdi/interceptor/ValidationInterceptor.java

  Log Message:
  -----------
  HV-740 Adding @AroundConstruct to interceptor


  Commit: e59c5fbd428631e779fc9fe5a65f03daf2d64ac2
      https://github.com/hibernate/hibernate-validator/commit/e59c5fbd428631e779fc9fe5a65f03daf2d64ac2
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/InterceptorTest.java
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/RepeaterImpl.java

  Log Message:
  -----------
  HV-740 Experimenting with constructor validation


  Commit: a40c1e5db08bd00688f11af79abc04a808206a89
      https://github.com/hibernate/hibernate-validator/commit/a40c1e5db08bd00688f11af79abc04a808206a89
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/cdi/interceptor/ValidationInterceptor.java
    M integration/weld/pom.xml
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/RepeaterImpl.java
    M pom.xml

  Log Message:
  -----------
  HV-740 Working on constructor interception


  Commit: c93da6f98eb3870a5fbe491fe44006ea96fe2aa1
      https://github.com/hibernate/hibernate-validator/commit/c93da6f98eb3870a5fbe491fe44006ea96fe2aa1
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/cdi/interceptor/ValidationInterceptor.java
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/InterceptorTest.java

  Log Message:
  -----------
  HV-740 Disabling around construct callbacks


  Commit: cbd075ca9dba3527fb5a02d19c4cec66ce6632b8
      https://github.com/hibernate/hibernate-validator/commit/cbd075ca9dba3527fb5a02d19c4cec66ce6632b8
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M tck-runner/pom.xml

  Log Message:
  -----------
  HV-740 Aligning with CR2 of TCK release


  Commit: a1555c237f376cbf960fdaae45d306358ba4924a
      https://github.com/hibernate/hibernate-validator/commit/a1555c237f376cbf960fdaae45d306358ba4924a
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/xml/BootstrapConfigurationImpl.java

  Log Message:
  -----------
  HV-740 REverting change to BootstrapConfigurationImpl


  Commit: 25ac4de0b3ea81bb0814e53b7d34ce935106c65e
      https://github.com/hibernate/hibernate-validator/commit/25ac4de0b3ea81bb0814e53b7d34ce935106c65e
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/cdi/interceptor/ValidationInterceptor.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/cdi/Broken.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/cdi/BrokenRepeaterImpl.java
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/InterceptorTest.java
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/RepeaterImpl.java

  Log Message:
  -----------
  HV-740 Adding successful constructor validation test


  Commit: 367fa7c1bd06769b8840fce10318135ebcb4c550
      https://github.com/hibernate/hibernate-validator/commit/367fa7c1bd06769b8840fce10318135ebcb4c550
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M distribution/pom.xml

  Log Message:
  -----------
  HV-740 Adding optional dependencies to distribution pom to allow javadoc aggregation


  Commit: efeff2cbf5e9b57e000dc52e34bb9132ece43f2d
      https://github.com/hibernate/hibernate-validator/commit/efeff2cbf5e9b57e000dc52e34bb9132ece43f2d
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/cdi/ValidationExtension.java
    M engine/src/main/java/org/hibernate/validator/internal/cdi/interceptor/ValidationEnabledAnnotatedType.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/cdi/BasicMethodValidationTest.java
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/BrokenRepeaterImpl.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/cdi/DefaultRepeater.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/cdi/EnableGetterValidationPerDefaultTest.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/cdi/GetterNotAnnotatedRepeater.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/cdi/GetterValidationOnlyTest.java
    R integration/weld/src/test/java/org/hibernate/validator/integration/cdi/InterceptorDisabledForValidateExecutableNoneTest.java
    R integration/weld/src/test/java/org/hibernate/validator/integration/cdi/InterceptorTest.java
    A integration/weld/src/test/java/org/hibernate/validator/integration/cdi/OnlyGetterValidatedRepeater.java
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/Repeater.java
    R integration/weld/src/test/java/org/hibernate/validator/integration/cdi/RepeaterImpl.java
    A integration/weld/src/test/resources/org/hibernate/validator/integration/cdi/validation-validate-executable-getter.xml
    R integration/weld/src/test/resources/org/hibernate/validator/integration/cdi/validation-validate-executable-none.xml

  Log Message:
  -----------
  HV-740 ExecutableType support and more tests


  Commit: 59b0e3449888b389cb9a22eab6f851206c6c70fc
      https://github.com/hibernate/hibernate-validator/commit/59b0e3449888b389cb9a22eab6f851206c6c70fc
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/cdi/interceptor/ValidationInterceptor.java

  Log Message:
  -----------
  HV-740 Updating priority to match the specified value


  Commit: 1ef85ae9cf14cdf3ed83eb539b094f2ac7b603cd
      https://github.com/hibernate/hibernate-validator/commit/1ef85ae9cf14cdf3ed83eb539b094f2ac7b603cd
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/cdi/ValidationExtension.java

  Log Message:
  -----------
  HV-740 Not the ValidationExtension, but the ValidationInterceptor needs registering


  Commit: ec1dc0a753aa661b3a73d8fa9411dfce7cbb9573
      https://github.com/hibernate/hibernate-validator/commit/ec1dc0a753aa661b3a73d8fa9411dfce7cbb9573
  Author: Hardy Ferentschik <hibernate at ferentschik.de>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/EnableGetterValidationPerDefaultTest.java
    M integration/weld/src/test/java/org/hibernate/validator/integration/cdi/GetterValidationOnlyTest.java

  Log Message:
  -----------
  HV-740 Fixing typos in assertion messages


Compare: https://github.com/hibernate/hibernate-validator/compare/23acfd402d34^...ec1dc0a753aa


More information about the hibernate-commits mailing list