public class AnnotationConfiguration extends AnnotationConfiguration
Modifier and Type | Class and Description |
---|---|
class |
AnnotationConfiguration.BundleParserTask |
AnnotationConfiguration.ClassInheritanceMap, AnnotationConfiguration.ContainerClassNameResolver, AnnotationConfiguration.ParserTask, AnnotationConfiguration.ServletContainerInitializerComparator, AnnotationConfiguration.ServletContainerInitializerOrdering, AnnotationConfiguration.TimeStatistic, AnnotationConfiguration.WebAppClassNameResolver
Configuration.ClassList
_classInheritanceHandler, _containerClassNameResolver, _containerInitializerAnnotationHandlers, _containerPathStats, _discoverableAnnotationHandlers, _parserTasks, _sciExcludePattern, _webAppClassNameResolver, _webInfClassesStats, _webInfLibStats, CLASS_INHERITANCE_MAP, CONTAINER_INITIALIZER_STARTER, CONTAINER_INITIALIZERS, DEFAULT_MAX_SCAN_WAIT, DEFAULT_MULTI_THREADED, MAX_SCAN_WAIT, MULTI_THREADED, SERVLET_CONTAINER_INITIALIZER_EXCLUSION_PATTERN, SERVLET_CONTAINER_INITIALIZER_ORDER
ATTR
Constructor and Description |
---|
AnnotationConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected AnnotationParser |
createAnnotationParser()
This parser scans the bundles using the OSGi APIs instead of assuming a jar.
|
protected ClassNameResolver |
createClassNameResolver(WebAppContext context)
Returns the same classname resolver than for the webInfjar scanner
|
protected ClassNameResolver |
createClassNameResolver(WebAppContext context,
boolean excludeSysClass,
boolean excludeServerClass,
boolean excludeEverythingElse,
boolean overrideIsParenLoaderIsPriority) |
protected void |
parseBundle(WebAppContext context,
AnnotationParser parser,
org.osgi.framework.Bundle webbundle,
org.osgi.framework.Bundle bundle) |
protected void |
parseFragmentBundle(WebAppContext context,
AnnotationParser parser,
org.osgi.framework.Bundle webbundle,
org.osgi.framework.Bundle fragmentBundle)
Scan a fragment bundle for servlet annotations
|
protected void |
parseRequiredBundle(WebAppContext context,
AnnotationParser parser,
org.osgi.framework.Bundle webbundle,
org.osgi.framework.Bundle requiredBundle)
Scan a bundle required by the webbundle for servlet annotations
|
protected void |
parseWebBundle(WebAppContext context,
AnnotationParser parser,
org.osgi.framework.Bundle webbundle)
Scan a bundle required by the webbundle for servlet annotations
|
void |
parseWebInfLib(WebAppContext context,
AnnotationParser parser)
Here is the order in which jars and osgi artifacts are scanned for discoverable annotations.
|
addDiscoverableAnnotationHandler, cloneConfigure, configure, createServletContainerInitializerAnnotationHandlers, deconfigure, getFragmentFromJar, getInitializerOrdering, getJarFor, getMaxScanWait, getNonExcludedInitializers, isFromContainerClassPath, isFromExcludedJar, isMetaDataComplete, isUseMultiThreading, matchesExclusionPattern, parseContainerPath, parseWebInfClasses, postConfigure, preConfigure, scanForAnnotations
destroy
protected AnnotationParser createAnnotationParser()
createAnnotationParser
in class AnnotationConfiguration
public void parseWebInfLib(WebAppContext context, AnnotationParser parser) throws Exception
parseWebInfLib
in class AnnotationConfiguration
Exception
protected void parseFragmentBundle(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle, org.osgi.framework.Bundle fragmentBundle) throws Exception
context
- The webapp contextparser
- The parserwebbundle
- The current webbundlefragmentBundle
- The OSGi fragment bundle to scanException
protected void parseWebBundle(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle) throws Exception
context
- The webapp contextparser
- The parserwebbundle
- The current webbundlefragmentBundle
- The OSGi required bundle to scanException
protected void parseRequiredBundle(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle, org.osgi.framework.Bundle requiredBundle) throws Exception
context
- The webapp contextparser
- The parserwebbundle
- The current webbundlefragmentBundle
- The OSGi required bundle to scanException
protected void parseBundle(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle, org.osgi.framework.Bundle bundle) throws Exception
Exception
protected ClassNameResolver createClassNameResolver(WebAppContext context)
context
- protected ClassNameResolver createClassNameResolver(WebAppContext context, boolean excludeSysClass, boolean excludeServerClass, boolean excludeEverythingElse, boolean overrideIsParenLoaderIsPriority)
Copyright © 1995-2015 Webtide. All Rights Reserved.