Package javax.enterprise.context
Annotation Type Destroyed
-
@Target({TYPE,METHOD,PARAMETER,FIELD}) @Retention(RUNTIME) @Documented @Qualifier public @interface Destroyed
Qualifier for events which get fired when a Context ends. The exact point is before the contextual instances of that Context actually get destroyed. Extensions should use a reasonable event object. For built-in scopes the following event-classes will be used- @RequestScoped: the ServletRequest for web requests, any other Object for other 'requests'
- @SessionScoped: the HttpSession
- @ApplicationScoped: ServletContext for web apps, any other Object for other apps
- @ConversationScoped: ServletRequest if handled during a web request, or any other Object for
- Since:
- 1.1
- See Also:
Initialized
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends java.lang.annotation.Annotation>
value
-