org.eclipse.jetty.annotations
Class AnnotationConfiguration

java.lang.Object
  extended by org.eclipse.jetty.annotations.AbstractConfiguration
      extended by org.eclipse.jetty.annotations.AnnotationConfiguration
All Implemented Interfaces:
Configuration

public class AnnotationConfiguration
extends AbstractConfiguration

Configuration for Annotations


Field Summary
static String CLASS_INHERITANCE_MAP
           
 
Fields inherited from class org.eclipse.jetty.annotations.AbstractConfiguration
CONTAINER_JAR_RESOURCES, METADATA_COMPLETE, WEB_INF_JAR_RESOURCES, WEBXML_CLASSNAMES
 
Constructor Summary
AnnotationConfiguration()
           
 
Method Summary
 void configure(WebAppContext context)
          Configure WebApp.
 void deconfigure(WebAppContext context)
          DeConfigure WebApp.
 boolean isFromExcludedJar(WebAppContext context, List<String> orderedJars, ServletContainerInitializer service)
          Check to see if the ServletContainerIntializer loaded via the ServiceLoader came from a jar that is excluded by the fragment ordering.
 void postConfigure(WebAppContext context)
          Clear down after configuration.
 void preConfigure(WebAppContext context)
          Set up for configuration.
 void registerServletContainerInitializerAnnotationHandlers(WebAppContext context, AnnotationParser parser)
           
 
Methods inherited from class org.eclipse.jetty.annotations.AbstractConfiguration
parse25Classes, parseContainerPath, parseWebInfClasses, parseWebInfLib
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_INHERITANCE_MAP

public static final String CLASS_INHERITANCE_MAP
See Also:
Constant Field Values
Constructor Detail

AnnotationConfiguration

public AnnotationConfiguration()
Method Detail

preConfigure

public void preConfigure(WebAppContext context)
                  throws Exception
Description copied from interface: Configuration
Set up for configuration.

Throws:
Exception

configure

public void configure(WebAppContext context)
               throws Exception
Description copied from interface: Configuration
Configure WebApp.

Throws:
Exception

deconfigure

public void deconfigure(WebAppContext context)
                 throws Exception
Description copied from interface: Configuration
DeConfigure WebApp. This method is called to undo all configuration done. This is called to allow the context to work correctly over a stop/start cycle

Throws:
Exception

postConfigure

public void postConfigure(WebAppContext context)
                   throws Exception
Description copied from interface: Configuration
Clear down after configuration.

Throws:
Exception

registerServletContainerInitializerAnnotationHandlers

public void registerServletContainerInitializerAnnotationHandlers(WebAppContext context,
                                                                  AnnotationParser parser)

isFromExcludedJar

public boolean isFromExcludedJar(WebAppContext context,
                                 List<String> orderedJars,
                                 ServletContainerInitializer service)
Check to see if the ServletContainerIntializer loaded via the ServiceLoader came from a jar that is excluded by the fragment ordering. See ServletSpec 3.0 p.85.

Parameters:
orderedJars -
service -
Returns:


Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.