[jira] [Updated] (DELTASPIKE-1339) Add support for dynamic interceptor binding, added via Extension

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (DELTASPIKE-1339) Add support for dynamic interceptor binding, added via Extension

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/DELTASPIKE-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Andraschko updated DELTASPIKE-1339:
------------------------------------------
    Description:
JCache does something simliar to:

public @interface CachedResult \{...}

@CachedResult
 public class CachedResultInterceptor \{...}

and a Extension which does:
 beforeBeanDiscoveryEvent.addInterceptorBinding(CachedResult .class);

This currently doesn't work because we check for @InterceptorBinding on the annotation

  was:
JCache something simliar to:

public @interface CachedResult \{...}

@CachedResult
public class CachedResultInterceptor \{...}

and a Extension which does:
beforeBeanDiscoveryEvent.addInterceptorBinding(CachedResult .class);


This currently doesn't work because we check for @InterceptorBinding on the annotation


> Add support for dynamic interceptor binding, added via Extension
> ----------------------------------------------------------------
>
>                 Key: DELTASPIKE-1339
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1339
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Data-Module, PartialBean, Proxy-Module
>            Reporter: Thomas Andraschko
>            Assignee: Thomas Andraschko
>            Priority: Major
>             Fix For: 1.9.0
>
>
> JCache does something simliar to:
> public @interface CachedResult \{...}
> @CachedResult
>  public class CachedResultInterceptor \{...}
> and a Extension which does:
>  beforeBeanDiscoveryEvent.addInterceptorBinding(CachedResult .class);
> This currently doesn't work because we check for @InterceptorBinding on the annotation



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)