]
Xavier Coulon resolved JBIDE-16829.
-----------------------------------
Labels: new_and_noteworthy (was: )
Release Notes Text: (see description for explanation of this feature)
Resolution: Done
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");
}
}
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: