Class AnnotationDecorator

java.lang.Object
org.eclipse.jetty.annotations.AnnotationDecorator
All Implemented Interfaces:
org.eclipse.jetty.util.Decorator

public class AnnotationDecorator extends Object implements org.eclipse.jetty.util.Decorator
AnnotationDecorator
  • Field Details

    • _introspector

      protected AnnotationIntrospector _introspector
    • _context

      protected org.eclipse.jetty.webapp.WebAppContext _context
  • Constructor Details

    • AnnotationDecorator

      public AnnotationDecorator(org.eclipse.jetty.webapp.WebAppContext context)
  • Method Details

    • introspect

      protected void introspect(Object o, Object metaInfo)
      Look for annotations that can be discovered with introspection:
      • Resource
      • Resources
      • RunAs
      • PostConstruct
      • PreDestroy
      • DeclareRoles
      • MultiPart
      • ServletSecurity
      Parameters:
      o - the object to introspect
      metaInfo - information about the object to introspect
    • decorate

      public Object decorate(Object o)
      Specified by:
      decorate in interface org.eclipse.jetty.util.Decorator
    • destroy

      public void destroy(Object o)
      Specified by:
      destroy in interface org.eclipse.jetty.util.Decorator