[arquillian-issues] [JBoss JIRA] (ARQGRA-295) Provide more convenient way for Interceptors registration/unregistration

Lukáš Fryč (JIRA) issues at jboss.org
Tue Jan 19 04:10:02 EST 2016


     [ https://issues.jboss.org/browse/ARQGRA-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated ARQGRA-295:
------------------------------
    Fix Version/s: 2.2-Tracking
                       (was: 2.1-Tracking)


> Provide more convenient way for Interceptors registration/unregistration 
> -------------------------------------------------------------------------
>
>                 Key: ARQGRA-295
>                 URL: https://issues.jboss.org/browse/ARQGRA-295
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>          Components: api, core
>    Affects Versions: 2.0.0.Alpha4
>            Reporter: Juraj Húska
>            Priority: Minor
>             Fix For: 2.2-Tracking
>
>
> It would be nice to have a more simple way of registering/unregistering Interceptors.
> Currently this is supported:
> {code}
> GrapheneProxyInstance proxy = (GrapheneProxyInstance) webdriver;
> proxy.registerInterceptor(new SearchContextInterceptor());
> {code}
> It would be nice to have something like:
> {code}
> Graphene.registerInterceptor(new SearchContextInterceptor());
> {code}
> It will be also good to choose class and method which will be intercepted.
> The above mentioned is just minimum.
> IMHO it would be awesome to provide way how to register interceptors like it is done in Java EE:
> {code}
> @Interceptor(MyCustomInterceptor.class)
> public void testFooBar() {
> ...
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the arquillian-issues mailing list