[
https://issues.jboss.org/browse/ARQGRA-295?page=com.atlassian.jira.plugin...
]
Juraj Húska updated ARQGRA-295:
-------------------------------
Description:
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}
was:
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.
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.0.0.Alpha6
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 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