You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/12/30 13:20:12 UTC

[jira] [Commented] (OWB-344) implement Decorators and Interceptors as subclassing

    [ https://issues.apache.org/jira/browse/OWB-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541073#comment-13541073 ] 

Mark Struberg commented on OWB-344:
-----------------------------------

Picking this up now for OWB-1.2.x

The goal is to split out the interceptor/decorator stuff and apply it 1:1 to the bean instances.

Thus we need to 
1.) create a subclass which delegates to the 
2.) add an interface OwbInterceptedInstance to have access to the native delegated instance. We need this for invoking private methods for delivering @Observes, etc
3.) use this in Producer<T>#produce() and InjectionTarget<T>#produce()
                
> implement Decorators and Interceptors as subclassing
> ----------------------------------------------------
>
>                 Key: OWB-344
>                 URL: https://issues.apache.org/jira/browse/OWB-344
>             Project: OpenWebBeans
>          Issue Type: Wish
>          Components: Interceptor and Decorators
>    Affects Versions: 1.0.0-alpha-1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.2.0
>
>
> This will allow us to further speed up interceptor and decorator handling and to store interceptor instances directly with the contextual instances.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira