javax.servlet.annotation
Annotation Type HandlesTypes


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface HandlesTypes

This annotation is used to declare the class types that a ServletContainerInitializer can handle.

Since:
Servlet 3.0
See Also:
ServletContainerInitializer

Required Element Summary
 java.lang.Class[] value
          The classes in which a ServletContainerInitializer has expressed interest.
 

Element Detail

value

public abstract java.lang.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 ServletContainerInitializer.onStartup(java.util.Set, javax.servlet.ServletContext) method of the ServletContainerInitializer (if no matching classes are found, null must be passed instead)



Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41


Spec-Zone.ru - all specs in one place



free hit counter