Annotation Type Initialized


  • @Target({TYPE,METHOD,PARAMETER,FIELD})
    @Retention(RUNTIME)
    @Documented
    @Qualifier
    public @interface Initialized
    Qualifier for events which get fired when a Context starts. The exact point is after the Context gets set up, but before it accepts storing Contextual Instances in it. 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:
    Destroyed
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends java.lang.annotation.Annotation> value  
    • Element Detail

      • value

        java.lang.Class<? extends java.lang.annotation.Annotation> value
        Returns:
        the Scope annotation this is for.