|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 必需 | 可选 | 详细信息: 元素 | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface HandlesTypes
This annotation is used to declare the class types that a
ServletContainerInitializer can handle.
ServletContainerInitializer| 必需元素摘要 | |
|---|---|
Class[] |
value
The classes in which a ServletContainerInitializer has expressed interest. |
| 元素详细信息 |
|---|
public abstract Class[] value
ServletContainerInitializer has expressed interest.
If an implementation of ServletContainerInitializer
specifies this annotation, the Servlet container must pass the
Set of application classes that extend, implement, or have
been annotated with the class types listed by this annotation to
the ServletContainerInitializer.onStartup(java.util.Set
method of the ServletContainerInitializer (if no matching classes
are found, null must be passed instead)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 必需 | 可选 | 详细信息: 元素 | |||||||||