Package javax.servlet.annotation
Annotation Type WebListener
-
@Target(TYPE) @Retention(RUNTIME) @Documented public @interface WebListenerThis annotation is used to declare a WebListener. Any class annotated with WebListener must implement one or more of theServletContextListener,ServletContextAttributeListener,ServletRequestListener,ServletRequestAttributeListener,HttpSessionListener, orHttpSessionAttributeListener, orHttpSessionIdListenerinterfaces.- Since:
- Servlet 3.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringvalueDescription of the listener
-