Package org.eclipse.jetty.annotations

Examples of org.eclipse.jetty.annotations.AnnotationDecorator


       
        //add a processor to handle extended web.xml format
        context.getMetaData().addDescriptorProcessor(new QuickStartDescriptorProcessor());
       
        //add a decorator that will find introspectable annotations
        context.addDecorator(new AnnotationDecorator(context)); //this must be the last Decorator because they are run in reverse order!
       
        //add a context bean that will run ServletContainerInitializers as the context starts
        ServletContainerInitializersStarter starter = (ServletContainerInitializersStarter)context.getAttribute(AnnotationConfiguration.CONTAINER_INITIALIZER_STARTER);
        if (starter != null)
            throw new IllegalStateException("ServletContainerInitializersStarter already exists");
View Full Code Here

TOP

Related Classes of org.eclipse.jetty.annotations.AnnotationDecorator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.