Annotation Type FilteredEndpoint


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface FilteredEndpoint
    Annotation that can be used on an @Endpoint to implement implicit filtering. Often used as a meta-annotation on technology specific endpoint annotations, for example:
     @Endpoint
     @FilteredEndpoint(WebEndpointFilter.class)
     public @interface WebEndpoint {
    
         @AliasFor(annotation = Endpoint.class, attribute = "id")
         String id();
    
         @AliasFor(annotation = Endpoint.class, attribute = "enableByDefault")
         boolean enableByDefault() default true;
    
     } 
    Since:
    2.0.0
    See Also:
    DiscovererEndpointFilter
    • Required Element Summary

      Required Elements 
      Modifier and TypeRequired ElementDescription
      Class<? extends EndpointFilter<?>>value
      The filter class to use.