|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.annotations.AnnotationConfiguration
public class AnnotationConfiguration
Configuration for Annotations
| 构造方法摘要 | |
|---|---|
AnnotationConfiguration()
|
|
| 方法摘要 | |
|---|---|
void |
cloneConfigure(WebAppContext template,
WebAppContext context)
Clone configuration instance. |
void |
configure(WebAppContext context)
Configure WebApp. |
protected AnnotationParser |
createAnnotationParser()
|
void |
createServletContainerInitializerAnnotationHandlers(WebAppContext context,
List<ServletContainerInitializer> scis)
|
void |
deconfigure(WebAppContext context)
DeConfigure WebApp. |
FragmentDescriptor |
getFragmentFromJar(Resource jar,
List<FragmentDescriptor> frags)
Get the web-fragment.xml from a jar |
List<ServletContainerInitializer> |
getNonExcludedInitializers(WebAppContext context)
|
boolean |
isFromExcludedJar(WebAppContext context,
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)
Scan jars on container path. |
void |
parseWebInfClasses(WebAppContext context,
AnnotationParser parser)
Scan classes in WEB-INF/classes |
void |
parseWebInfLib(WebAppContext context,
AnnotationParser parser)
Scan jars in WEB-INF/lib |
void |
postConfigure(WebAppContext context)
Clear down after configuration. |
void |
preConfigure(WebAppContext context)
Set up for configuration. |
| 从类 org.eclipse.jetty.webapp.AbstractConfiguration 继承的方法 |
|---|
destroy |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final String CLASS_INHERITANCE_MAP
public static final String CONTAINER_INITIALIZERS
public static final String CONTAINER_INITIALIZER_LISTENER
protected List<AnnotationParser.DiscoverableAnnotationHandler> _discoverableAnnotationHandlers
protected ClassInheritanceHandler _classInheritanceHandler
protected List<ContainerInitializerAnnotationHandler> _containerInitializerAnnotationHandlers
| 构造方法详细信息 |
|---|
public AnnotationConfiguration()
| 方法详细信息 |
|---|
public void preConfigure(WebAppContext context)
throws Exception
Configuration 复制的描述Typically this step discovers configuration resources
Configuration 中的 preConfigureAbstractConfiguration 中的 preConfigurecontext - The context to configure
Exception
public void deconfigure(WebAppContext context)
throws Exception
Configuration 复制的描述
Configuration 中的 deconfigureAbstractConfiguration 中的 deconfigurecontext - The context to configure
Exception
public void configure(WebAppContext context)
throws Exception
Configuration 复制的描述
Typically this step applies the discovered configuration resources to
either the WebAppContext or the associated MetaData.
Configuration 中的 configureAbstractConfiguration 中的 configurecontext - The context to configure
ExceptionAbstractConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)
public void postConfigure(WebAppContext context)
throws Exception
Configuration 复制的描述
Configuration 中的 postConfigureAbstractConfiguration 中的 postConfigurecontext - The context to configure
ExceptionAbstractConfiguration.postConfigure(org.eclipse.jetty.webapp.WebAppContext)protected AnnotationParser createAnnotationParser()
public void cloneConfigure(WebAppContext template,
WebAppContext context)
throws Exception
Configuration 复制的描述Configure an instance of a WebAppContext, based on a template WebAppContext that has previously been configured by this Configuration.
Configuration 中的 cloneConfigureAbstractConfiguration 中的 cloneConfiguretemplate - The template contextcontext - The context to configure
ExceptionAbstractConfiguration.cloneConfigure(org.eclipse.jetty.webapp.WebAppContext, org.eclipse.jetty.webapp.WebAppContext)
public void createServletContainerInitializerAnnotationHandlers(WebAppContext context,
List<ServletContainerInitializer> scis)
throws Exception
context - scis -
Exception
public boolean isFromExcludedJar(WebAppContext context,
ServletContainerInitializer service)
throws Exception
orderedJars - service -
Exception
public List<ServletContainerInitializer> getNonExcludedInitializers(WebAppContext context)
throws Exception
context -
Exception
public void parseContainerPath(WebAppContext context,
AnnotationParser parser)
throws Exception
context - parser -
Exception
public void parseWebInfLib(WebAppContext context,
AnnotationParser parser)
throws Exception
context - parser -
Exception
public void parseWebInfClasses(WebAppContext context,
AnnotationParser parser)
throws Exception
context - parser -
Exception
public FragmentDescriptor getFragmentFromJar(Resource jar,
List<FragmentDescriptor> frags)
throws Exception
jar - frags -
Exceptionpublic boolean isMetaDataComplete(WebDescriptor d)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||