@Target(value=TYPE) @Retention(value=RUNTIME) public @interface HandlesTypes
ServletContainerInitializer
can handle.ServletContainerInitializer
Modifier and Type | Required Element and Description |
---|---|
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<java.lang.Class<?>>, javax.servlet.ServletContext)
method of the
ServletContainerInitializer (if no matching classes are found, null must be passed instead)
ServletContainerInitializer
has
expressed interestComments to: servlet-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.