Class InvocableValidator

java.lang.Object
org.glassfish.jersey.server.model.AbstractResourceModelVisitor
org.glassfish.jersey.server.model.InvocableValidator
All Implemented Interfaces:
ResourceModelVisitor

class InvocableValidator extends AbstractResourceModelVisitor
Validator ensuring that invocable and constructor is correctly defined (for example correctly annotated with scope annotation). This validator is stateful and therefore new instance must be created for each resource model validation.
  • Field Details

    • SCOPE_ANNOTATIONS

      private static final Set<Class<?>> SCOPE_ANNOTATIONS
    • checkedClasses

      protected final Set<Class<?>> checkedClasses
      Classes that have been checked already.
  • Constructor Details

    • InvocableValidator

      InvocableValidator()
  • Method Details