Top Description Methods
javax.servlet.annotation

public @Interface HandlesTypes

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Target, .ElementType, .Retention, .RetentionPolicy

This annotation is used to declare the class types that a ServletContainerInitializer can handle.
Since
Servlet 3.0
See Also
javax.servlet.ServletContainerInitializer

Method Summary

Modifier and TypeMethod and Description
public Class<?>[]

Returns:

the classes in which ServletContainerInitializer has expressed interest
value
()

The classes in which a ServletContainerInitializer has expressed interest.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<?>[] value()

The classes in which a 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 javax.servlet.ServletContainerInitializer#onStartup method of the ServletContainerInitializer (if no matching classes are found, null must be passed instead)

Returns:Class<?>[]

the classes in which ServletContainerInitializer has expressed interest