[jbosstools-issues] [JBoss JIRA] (JBIDE-16829) Provide hyperlink navigation between Filter/Interceptors and other resources

Radoslav Rábara (JIRA) issues at jboss.org
Tue Aug 5 07:42:29 EDT 2014


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

Radoslav Rábara closed JBIDE-16829.
-----------------------------------



Verified with JBDS 8.0.0 Beta3-v20140722-2011-B194

> Provide hyperlink navigation between Filter/Interceptors and other resources
> ----------------------------------------------------------------------------
>
>                 Key: JBIDE-16829
>                 URL: https://issues.jboss.org/browse/JBIDE-16829
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: webservices
>    Affects Versions: 4.1.1.Final
>            Reporter: Xavier Coulon
>            Assignee: Xavier Coulon
>              Labels: new_and_noteworthy
>             Fix For: 4.2.0.Beta1
>
>
> When a Filter or Interceptor is annotated with a user-defined name binding annotation (ie, an annotation itself annotated with @NameBinding), then some hyperlink navigation on this annotation should let the user navigate to the associated resources/resource methods/application that have the same user-defined annotation.
> Eg:
> {code}
> @Target({ ElementType.TYPE, ElementType.METHOD })
> @Retention(value = RetentionPolicy.RUNTIME)
> @NameBinding
> public @interface CustomInterceptorBinding {
> }
> {code}
> and
> {code}
> @ApplicationPath("/app")
> @CustomInterceptorBinding 
> public class RestApplication extends Application {
> }
> {code}
> and
> {code}
> @Provider
> @CustomInterceptorBinding
> public class CustomResponseFilterWithBinding implements ContainerResponseFilter {
> 	@Override
> 	public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext)
> 			throws IOException {
> 		responseContext.getHeaders().add("Cache-Control", "no-cache");
> 	}
> 	
> }
> {code}
> In that case, ctrl (or cmd) + click on {{CustomInterceptorBinding}} should allow for navigation between all those 3 elements



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the jbosstools-issues mailing list