[jbosstools-issues] [JBoss JIRA] (JBIDE-16829) Provide hyperlink navigation between Filter/Interceptors and other resources
Xavier Coulon (JIRA)
issues at jboss.org
Thu Mar 20 16:24:10 EDT 2014
Xavier Coulon created JBIDE-16829:
-------------------------------------
Summary: 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
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");
}
}
In that case, ctrl (or cmd) + click on {{CustomInterceptorBinding}} should allow for navigation between all those 3 elements
{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
More information about the jbosstools-issues
mailing list