Branch: refs/heads/master
Home:
https://github.com/weld/core
Commit: 8d7867765f5f5985949de53c6ca48374c42158d2
https://github.com/weld/core/commit/8d7867765f5f5985949de53c6ca48374c42158d2
Author: Marius Bogoevici <marius.bogoevici(a)gmail.com>
Date: 2010-12-10 (Fri, 10 Dec 2010)
Changed paths:
M impl/src/main/java/org/jboss/weld/bean/AbstractClassBean.java
M impl/src/main/java/org/jboss/weld/bean/DecoratorImpl.java
M impl/src/main/java/org/jboss/weld/bean/ManagedBean.java
M impl/src/main/java/org/jboss/weld/bean/SessionBean.java
M impl/src/main/java/org/jboss/weld/bean/proxy/ClientProxyFactory.java
A
impl/src/main/java/org/jboss/weld/bean/proxy/CombinedInterceptorAndDecoratorStackMethodHandler.java
A impl/src/main/java/org/jboss/weld/bean/proxy/InterceptedSubclassFactory.java
A impl/src/main/java/org/jboss/weld/bean/proxy/InterceptionDecorationContext.java
M impl/src/main/java/org/jboss/weld/bean/proxy/ProxyFactory.java
A impl/src/main/java/org/jboss/weld/bean/proxy/SubclassingMethodHandler.java
M
impl/src/main/java/org/jboss/weld/injection/ProxyClassConstructorInjectionPointWrapper.java
M impl/src/main/java/org/jboss/weld/util/Beans.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/AllPurpose.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/AllPurposeInterceptor.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/Failing.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/FailingBean.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/SelfInvokingClassTest.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/SomeBean.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/SomeBeanDecorator.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/SomeBeanImplWithFailingBean.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/SomeBeanImplWithSucceedingBean.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/Succeeding.java
A
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/circularInvocation/SucceedingBean.java
Log Message:
-----------
WELD-437 Use subclassing for interceptors and decorators
* add support for subclassing descendants of AbstractClassBean
* implement a combined interceptor and decorator method handler
* create a new type of Factory for subclassing interceptors and decorators
* add support for avoiding interception on self-invocation
* an InterceptedContext tracks the currently active interceptors
* add support for intercepting calls between beans that have circular references
* the InterceptedContext is nested and a new context is created every time the call
passes through a client proxy