Support for interceptors on service reference components (in the API for
namespace handlers)
--------------------------------------------------------------------------------------------
Key: ARIES-84
URL: https://issues.apache.org/jira/browse/ARIES-84
Project: Aries
Issue Type: New Feature
Components: Blueprint
Reporter: Valentin Mahrwald
Assignee: Valentin Mahrwald
Currently, it is possible to register interceptors against a bean through the
ComponentDefinitionRegistry interface. However, the
registerInterceptorWithComponent method is more generic, accepting a
ComponentMetadata instance.
One further use case of interceptors I would like Aries blueprint to support is
interceptors on service reference elements, so that a namespace handler can
register intercepts that operate when a client bean uses a blueprint injected
service reference.
As mentioned above this change will not affect the API for namespace handlers.
The only changes needed is to refactor the interceptor logic that is currently
partially in BeanRecipe to be also available to (and used from) ReferenceRecipe.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.