Class AnnotationDecorator

  • All Implemented Interfaces:
    org.eclipse.jetty.util.Decorator

    public class AnnotationDecorator
    extends java.lang.Object
    implements org.eclipse.jetty.util.Decorator
    AnnotationDecorator
    • Constructor Detail

      • AnnotationDecorator

        public AnnotationDecorator​(WebAppContext context)
    • Method Detail

      • registerHandlers

        public void registerHandlers​(WebAppContext context)
      • introspect

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

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

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