DRAFT

javax.servlet.annotation
Annotation Type HandlesTypes


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

This annotation is used to declare the types an instance of the ServletContainerInitializer can handle.

Since:
Servlet 3.0
See Also:
ServletContainerInitializer

Required Element Summary
 java.lang.Class[] value
          The types that a ServletContainerInitializer expresses interesst in.
 

Element Detail

value

public abstract java.lang.Class[] value
The types that a ServletContainerInitializer expresses interesst in. When this annotation is applied on an implementation of ServletContainerInitializer the onStartup method of the ServletContainerInitializer instance will get a Set of classes that were either annotated with, or extends / implements the types listed via this annotation.


DRAFT

Submit a bug or feature

Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.