[cdi-dev] [JBoss JIRA] (CDI-454) Provide Event scope (in order to enable broadcast on Container level)

Antonio Goncalves (JIRA) issues at jboss.org
Tue Aug 26 16:21:59 EDT 2014


    [ https://issues.jboss.org/browse/CDI-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995950#comment-12995950 ] 

Antonio Goncalves edited comment on CDI-454 at 8/26/14 4:21 PM:
----------------------------------------------------------------

Following the {{Priority}} annotation, we could have the following terms : Platform, Library and Application.

As a reminder : 
{code}
	public static final int PLATFORM_BEFORE = 0;
	public static final int LIBRARY_BEFORE = 1000;
	public static final int APPLICATION = 2000;
        ...
{code}


was (Author: agoncal):
Following the {{Priority}} annotation terms, we could have platform, library and application.

As a reminder : 
{code}
	public static final int PLATFORM_BEFORE = 0;
	public static final int LIBRARY_BEFORE = 1000;
	public static final int APPLICATION = 2000;
        ...
{code}

> Provide Event scope (in order to enable broadcast on Container level)
> ---------------------------------------------------------------------
>
>                 Key: CDI-454
>                 URL: https://issues.jboss.org/browse/CDI-454
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>    Affects Versions: 2.0 (discussion)
>            Reporter: Alexandre Porcelli
>
> Events could be scoped, some possible scopes are: Library (jar), Application (war/ear) or Container (server).
> The most relevant scope would be the Container, as it would bring a great integration mechanism between deployed applications.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the cdi-dev mailing list