Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 1.1.2.Final
-
Fix Version/s: 1.1.3.Final, 2.0.0.Alpha1
-
Component/s: Interceptors and Decorators
-
Labels:None
-
Affects:Release Notes
Description
for (InjectionPoint injectionPoint : serializableContextual.get().getInjectionPoints()) {
|
Bean<?> resolvedBean = beanManager.resolve(beanManager.getBeans(injectionPoint));
|
validateInjectionPoint(injectionPoint, beanManager);
|
if (classBean.isPassivationCapableBean()) {
|
validateInjectionPointPassivationCapable(injectionPoint, resolvedBean, beanManager);
|
}
|
}
|
classBean.isPassivationCapableBean() checks if the intercepted bean is passivation capable. However, even if the interceptor bean is passivation capable, the interceptor is not obliged to have passivation capable dependencies unless the intercepted bean declares a passivating scope. The condition (note there are multiple occurences) should be based on this check instead.
Gliffy Diagrams
Activity
- All
- Comments
- Work Log
- History
- Activity
- Links Hierarchy
Reopening, seems to cause incontainer failures.