Class AnnotationDecorator

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

public class AnnotationDecorator extends Object implements Decorator
AnnotationDecorator
  • Field Details

  • Constructor Details

    • AnnotationDecorator

      public AnnotationDecorator(WebAppContext context)
  • Method Details

    • registerHandlers

      public void registerHandlers(WebAppContext context)
    • introspect

      protected void introspect(Object o)
      Look for annotations that can be discovered with introspection:
      • Resource
      • Resources
      • PostConstruct
      • PreDestroy
      • ServletSecurity?
      Parameters:
      o - the object ot introspect
    • decorate

      public Object decorate(Object o)
      Specified by:
      decorate in interface Decorator
    • destroy

      public void destroy(Object o)
      Specified by:
      destroy in interface Decorator