[weld-commits] [weld/core] c4d17a: WELD-1348 Relax requirements for interceptor metho...

GitHub noreply at github.com
Thu Mar 28 08:41:28 EDT 2013


  Branch: refs/heads/2.0
  Home:   https://github.com/weld/core
  Commit: c4d17a2ce2571366ac006cf31a6d0e2e2cb61b80
      https://github.com/weld/core/commit/c4d17a2ce2571366ac006cf31a6d0e2e2cb61b80
  Author: Marko Luksa <marko.luksa at gmail.com>
  Date:   2013-03-28 (Thu, 28 Mar 2013)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/interceptor/reader/InterceptorMetadataUtils.java
    M impl/src/main/java/org/jboss/weld/logging/messages/ValidatorMessage.java
    M impl/src/main/java/org/jboss/weld/util/BeanMethods.java
    M impl/src/main/resources/org/jboss/weld/messages/validator_en.properties
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundConstructInterceptorWithObjectReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundConstructInterceptorWithVoidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidParameterCount.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidParameterType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithValidSignature.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/Intercept.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/InterceptedBean.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/InterceptorSignatureTest.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/Lifecycle.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidParameterCount.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidParameterType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithObjectReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithVoidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithPostConstructWithInvalidParameterCount.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithPostConstructWithInvalidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithValidPostConstruct.java

  Log Message:
  -----------
  WELD-1348 Relax requirements for interceptor method signatures
WELD-1357 @AroundConstruct only works for void methods


  Commit: fc759ac5233a25dab6a02dbbaa881dbe1a365557
      https://github.com/weld/core/commit/fc759ac5233a25dab6a02dbbaa881dbe1a365557
  Author: Marko Luksa <marko.luksa at gmail.com>
  Date:   2013-03-28 (Thu, 28 Mar 2013)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/interceptor/builder/InterceptionModelImpl.java

  Log Message:
  -----------
  Minor map usage optimization (replace map.containsKey & get with only map.get)


  Commit: a838ef54ff7f02411673fb832b4dd1093dbe2cb5
      https://github.com/weld/core/commit/a838ef54ff7f02411673fb832b4dd1093dbe2cb5
  Author: Marko Luksa <marko.luksa at gmail.com>
  Date:   2013-03-28 (Thu, 28 Mar 2013)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/interceptor/reader/InterceptorMetadataUtils.java

  Log Message:
  -----------
  Add missing param to error message


  Commit: c23da3d9b217c750c427844615575b863c93fbd3
      https://github.com/weld/core/commit/c23da3d9b217c750c427844615575b863c93fbd3
  Author: Marko Luksa <marko.luksa at gmail.com>
  Date:   2013-03-28 (Thu, 28 Mar 2013)

  Changed paths:
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/InterceptorSignatureTest.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundConstruct.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundInvokeWithInvalidParameterCount.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundInvokeWithInvalidParameterType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundInvokeWithInvalidReturnType.java

  Log Message:
  -----------
  WELD-1348 Relax requirements for interceptor method signatures - additional tests


  Commit: d74b834bedca7a59e13187c8e1ded1a952f8370a
      https://github.com/weld/core/commit/d74b834bedca7a59e13187c8e1ded1a952f8370a
  Author: Marko Luksa <marko.luksa at gmail.com>
  Date:   2013-03-28 (Thu, 28 Mar 2013)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/interceptor/reader/InterceptorMetadataUtils.java
    M impl/src/main/java/org/jboss/weld/logging/messages/ValidatorMessage.java
    M impl/src/main/resources/org/jboss/weld/messages/validator_en.properties
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AbstractSignatureTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundConstructInterceptorWithObjectReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundConstructInterceptorWithObjectReturnTypeTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundConstructInterceptorWithVoidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundConstructInterceptorWithVoidReturnTypeTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidParameterCount.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidParameterCountTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidParameterType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidParameterTypeTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithInvalidReturnTypeTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithValidSignature.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithValidSignatureTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/Intercept.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/InterceptedBean.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/InterceptorSignatureTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/Lifecycle.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidParameterCount.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidParameterCountTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidParameterType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidParameterTypeTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithInvalidReturnTypeTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithObjectReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithObjectReturnTypeTest.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithVoidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithVoidReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundConstruct.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundConstructTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundInvokeWithInvalidParameterCount.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundInvokeWithInvalidParameterCountTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundInvokeWithInvalidParameterType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundInvokeWithInvalidParameterTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundInvokeWithInvalidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithAroundInvokeWithInvalidReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithPostConstructWithInvalidParameterCount.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithPostConstructWithInvalidParameterCountTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithPostConstructWithInvalidReturnType.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithPostConstructWithInvalidReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithValidPostConstruct.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithValidPostConstructTest.java

  Log Message:
  -----------
  WELD-1348 Relax requirements for interceptor method signatures - throw DefinitionException instead of logging a warning


  Commit: a130a6e930f818eecb7bdaf9e4fe2881253e44ff
      https://github.com/weld/core/commit/a130a6e930f818eecb7bdaf9e4fe2881253e44ff
  Author: Marko Luksa <marko.luksa at gmail.com>
  Date:   2013-03-28 (Thu, 28 Mar 2013)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/interceptor/reader/InterceptorMetadataUtils.java
    M impl/src/main/java/org/jboss/weld/logging/messages/ValidatorMessage.java
    M impl/src/main/resources/org/jboss/weld/messages/validator_en.properties
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/aroundConstruct/extended/AbstractInterceptor.java
    R tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AbstractSignatureTest.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AbstractSignatureTestBase.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundConstructInterceptorWithObjectReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundConstructInterceptorWithVoidReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/AroundInvokeInterceptorWithValidSignatureTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithObjectReturnTypeTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithVoidReturnTypeTest.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithPostConstructWithThrowsClause.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithPostConstructWithThrowsClauseTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithValidPostConstructTest.java

  Log Message:
  -----------
  WELD-1348 Relax requirements for interceptor method signatures - log warning if lifecycle callback declares throwing checked exceptions


  Commit: 2f801d7136c47ebda89c867febb08a04e9fbfa3f
      https://github.com/weld/core/commit/2f801d7136c47ebda89c867febb08a04e9fbfa3f
  Author: Marko Luksa <marko.luksa at gmail.com>
  Date:   2013-03-28 (Thu, 28 Mar 2013)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/interceptor/reader/InterceptorMetadataUtils.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/aroundConstruct/extended/ejb/AbstractInterceptor.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/PostConstructInterceptorWithoutParametersTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithPostConstructWithInvalidParameterCount.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/signature/TargetClassWithPostConstructWithInvalidParameterCountTest.java

  Log Message:
  -----------
  WELD-1348 Relax requirements for interceptor method signatures - don't throw DefinitionException when we can't distinguish between a target class and an interceptor


  Commit: 3f3511bf434a51d180e60934f724d69185d36951
      https://github.com/weld/core/commit/3f3511bf434a51d180e60934f724d69185d36951
  Author: Marko Luksa <marko.luksa at gmail.com>
  Date:   2013-03-28 (Thu, 28 Mar 2013)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  Upgrade to cal10n 0.7.7 (this fixes '\:' appearing in messages instead of ':')


Compare: https://github.com/weld/core/compare/0bc9097ef348...3f3511bf434a


More information about the weld-commits mailing list