[JBoss JIRA] Updated: (CDI-39) Add a standard format for defining metadata about extensions
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-39?page=com.atlassian.jira.plugin.sys... ]
Pete Muir updated CDI-39:
-------------------------
Description:
Build on the support introduced for Manifests in CDI-163 and specify some standard keys:
* id
* description
* version
Add a non-normative note that an impl may wish to use this information and log what extensions are present.
was:e.g. add optional name, description and version fields to an optional annotation. Makes it easy for modules to track what is being loaded
> Add a standard format for defining metadata about extensions
> ------------------------------------------------------------
>
> Key: CDI-39
> URL: https://issues.jboss.org/browse/CDI-39
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Portable Extensions
> Affects Versions: 1.0
> Reporter: Pete Muir
> Fix For: 1.1 (Proposed)
>
>
> Build on the support introduced for Manifests in CDI-163 and specify some standard keys:
> * id
> * description
> * version
> Add a non-normative note that an impl may wish to use this information and log what extensions are present.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Closed: (CDI-49) The availability of the BeanManager should follow the normal EE visibility rules
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-49?page=com.atlassian.jira.plugin.sys... ]
Pete Muir closed CDI-49.
------------------------
Assignee: Pete Muir
Fix Version/s: (was: 1.1 (Proposed))
Resolution: Duplicate Issue
> The availability of the BeanManager should follow the normal EE visibility rules
> --------------------------------------------------------------------------------
>
> Key: CDI-49
> URL: https://issues.jboss.org/browse/CDI-49
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Java EE integration, Packaging and Deployment, Resolution
> Affects Versions: 1.0
> Environment: JSR-000316 Java Platform, Enterprise Edition 6 Specification
> Reporter: Aslak Knutsen
> Assignee: Pete Muir
>
> EE 6 spec
> EE.5.19
> A bean manager is only available in modules in which CDI has been enabled.
> In e.g. a EAR deployment, a WAR module can see a EJB module. With CDI enabled in the EJB, the WAR can only see the BeanManager if the WAR itself is also CDI enabled. In cases where you want to do dynamic introspection of available beans etc, this is a bit cumbersome, especially since the introspecting code can be in a packaged jar inside a unknown WAR..
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Updated: (CDI-84) Non EE modules should be able to inject/lookup in JNDI a BeanManager
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-84?page=com.atlassian.jira.plugin.sys... ]
Pete Muir updated CDI-84:
-------------------------
Summary: Non EE modules should be able to inject/lookup in JNDI a BeanManager (was: Non EE modules should be able to trigger creation of a BeanManager)
> Non EE modules should be able to inject/lookup in JNDI a BeanManager
> --------------------------------------------------------------------
>
> Key: CDI-84
> URL: https://issues.jboss.org/browse/CDI-84
> Project: CDI Specification Issues
> Issue Type: Tracker
> Components: Java EE integration, Packaging and Deployment
> Affects Versions: 1.0
> Reporter: Aslak Knutsen
> Fix For: 1.1 (Proposed)
>
>
> EE.5.19
> A bean manager is only available in modules in which CDI has been enabled.
> Where EE modules are defined to be; ejb-jar, rar, client jar and war.
> This is a missmatch between the EE spec and the CDI spec. According to the CDI spec, any archive with a beans.xml is defined as a BeanArchive and should be included in a BeanManager, EE define it to be only EE modules should trigger BeanManager creation.
> Opening this up to follow the CDI spec will let any library use the BeanManager to introspect other BeanArchives without having to involve the owning EE module in the loop.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Updated: (CDI-84) Non EE modules should be able to trigger creation of a BeanManager
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-84?page=com.atlassian.jira.plugin.sys... ]
Pete Muir updated CDI-84:
-------------------------
Issue Type: Tracker (was: Feature Request)
> Non EE modules should be able to trigger creation of a BeanManager
> ------------------------------------------------------------------
>
> Key: CDI-84
> URL: https://issues.jboss.org/browse/CDI-84
> Project: CDI Specification Issues
> Issue Type: Tracker
> Components: Java EE integration, Packaging and Deployment
> Affects Versions: 1.0
> Reporter: Aslak Knutsen
> Fix For: 1.1 (Proposed)
>
>
> EE.5.19
> A bean manager is only available in modules in which CDI has been enabled.
> Where EE modules are defined to be; ejb-jar, rar, client jar and war.
> This is a missmatch between the EE spec and the CDI spec. According to the CDI spec, any archive with a beans.xml is defined as a BeanArchive and should be included in a BeanManager, EE define it to be only EE modules should trigger BeanManager creation.
> Opening this up to follow the CDI spec will let any library use the BeanManager to introspect other BeanArchives without having to involve the owning EE module in the loop.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Updated: (CDI-2) Interceptor bindings defined at method level should override those at the class level
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-2?page=com.atlassian.jira.plugin.syst... ]
Pete Muir updated CDI-2:
------------------------
Fix Version/s: 1.1 (Confirmed)
(was: 1.1 (Proposed))
Affects Version/s: (was: 1.0)
Component/s: Inheritance and Specialization
(was: Interceptors)
> Interceptor bindings defined at method level should override those at the class level
> -------------------------------------------------------------------------------------
>
> Key: CDI-2
> URL: https://issues.jboss.org/browse/CDI-2
> Project: CDI Specification Issues
> Issue Type: Bug
> Components: Inheritance and Specialization
> Reporter: Pete Muir
> Assignee: Marius Bogoevici
> Fix For: 1.1 (Confirmed)
>
>
> Gavin said:
> "We certainly *intended* for method-level interceptor bindings to override bindings declared at the class level, but whether we actually wrote that down is another story. It certainly doesn't look like that behavior is properly defined in the latest version of the spec."
> In section 9.5.2 of the spec:
> If the set of interceptor bindings of a bean or interceptor, including bindings inherited from stereotypes and other interceptor bindings, has two instances of a certain interceptor binding type and the instances have different values of some annotation member, the container automatically detects the problem and treats it as a definition error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months