2.8.1 @HandlesTypes

Organization of this subsection
(1) Description
(2) Attributes

(1) Description

This annotation specifies the class type that deals with the Implementation class of the ServletContainerInitializer interface.

(2) Attributes

The following table lists the @HandlesTypes attributes:

Attribute nameFunctionality
valueThis attribute specifies the type of class or annotation that deals with the Implementation class of the ServletContainerInitializer interface. The class list that is attached with the class that extends or implements the specified class or annotation, is passed to the Implementation class of the ServletContainerInitializer interface.

Details of each attribute are as follows:

(a) value attribute
Type
Class[]
Description
This attribute specifies the type of class or annotation that deals with the implementation class of the ServletContainerInitializer interface. The class list that is attached with the class that extends or implements the specified class or annotation, is passed to the Implementation class of the ServletContainerInitializer interface.
Default value
{}