|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jetty.webapp.AbstractConfiguration org.eclipse.jetty.annotations.AnnotationConfiguration
public class AnnotationConfiguration
Configuration for Annotations
Field Summary | |
---|---|
static java.lang.String |
CLASS_INHERITANCE_MAP
|
Constructor Summary | |
---|---|
AnnotationConfiguration()
|
Method Summary | |
---|---|
protected void |
clearAnnotationList(java.util.List<AnnotationParser.DiscoverableAnnotationHandler> handlers)
|
void |
cloneConfigure(WebAppContext template,
WebAppContext context)
Clone configuration instance. |
void |
configure(WebAppContext context)
Configure WebApp. |
protected void |
gatherAnnotations(java.util.List<DiscoveredAnnotation> annotations,
java.util.List<AnnotationParser.DiscoverableAnnotationHandler> handlers)
|
FragmentDescriptor |
getFragmentFromJar(Resource jar,
java.util.List<FragmentDescriptor> frags)
|
boolean |
isFromExcludedJar(WebAppContext context,
javax.servlet.ServletContainerInitializer service)
Check to see if the ServletContainerIntializer loaded via the ServiceLoader came from a jar that is excluded by the fragment ordering. |
boolean |
isMetaDataComplete(WebDescriptor d)
|
void |
parseContainerPath(WebAppContext context,
AnnotationParser parser)
|
void |
parseWebInfClasses(WebAppContext context,
AnnotationParser parser)
|
void |
parseWebInfLib(WebAppContext context,
AnnotationParser parser)
|
void |
preConfigure(WebAppContext context)
Set up for configuration. |
void |
registerServletContainerInitializerAnnotationHandlers(WebAppContext context,
AnnotationParser parser)
|
Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration |
---|
deconfigure, postConfigure |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_INHERITANCE_MAP
Constructor Detail |
---|
public AnnotationConfiguration()
Method Detail |
---|
public void preConfigure(WebAppContext context) throws java.lang.Exception
Configuration
Typically this step discovers configuration resources
preConfigure
in interface Configuration
preConfigure
in class AbstractConfiguration
context
- The context to configure
java.lang.Exception
public void configure(WebAppContext context) throws java.lang.Exception
Configuration
Typically this step applies the discovered configuration resources to
either the WebAppContext
or the associated MetaData
.
configure
in interface Configuration
configure
in class AbstractConfiguration
context
- The context to configure
java.lang.Exception
public void cloneConfigure(WebAppContext template, WebAppContext context) throws java.lang.Exception
Configuration
Configure an instance of a WebAppContext, based on a template WebAppContext that has previously been configured by this Configuration.
cloneConfigure
in interface Configuration
cloneConfigure
in class AbstractConfiguration
template
- The template contextcontext
- The context to configure
java.lang.Exception
public void registerServletContainerInitializerAnnotationHandlers(WebAppContext context, AnnotationParser parser) throws java.lang.Exception
java.lang.Exception
public boolean isFromExcludedJar(WebAppContext context, javax.servlet.ServletContainerInitializer service) throws java.lang.Exception
orderedJars
- service
-
java.lang.Exception
public void parseContainerPath(WebAppContext context, AnnotationParser parser) throws java.lang.Exception
java.lang.Exception
public void parseWebInfLib(WebAppContext context, AnnotationParser parser) throws java.lang.Exception
java.lang.Exception
public void parseWebInfClasses(WebAppContext context, AnnotationParser parser) throws java.lang.Exception
java.lang.Exception
public FragmentDescriptor getFragmentFromJar(Resource jar, java.util.List<FragmentDescriptor> frags) throws java.lang.Exception
java.lang.Exception
public boolean isMetaDataComplete(WebDescriptor d)
protected void clearAnnotationList(java.util.List<AnnotationParser.DiscoverableAnnotationHandler> handlers)
protected void gatherAnnotations(java.util.List<DiscoveredAnnotation> annotations, java.util.List<AnnotationParser.DiscoverableAnnotationHandler> handlers)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |