[JBoss JIRA] (CDI-211) Clarify BeanManager.createProducer()
by Jozef Hartinger (JIRA)
Jozef Hartinger created CDI-211:
-----------------------------------
Summary: Clarify BeanManager.createProducer()
Key: CDI-211
URL: https://issues.jboss.org/browse/CDI-211
Project: CDI Specification Issues
Issue Type: Clarification
Components: Portable Extensions
Affects Versions: 1.1.EDR1
Reporter: Jozef Hartinger
Fix For: 1.1 (Proposed)
The specification defines a pair of BeanManager.createProducer() methods:
{code}
public Producer<?> createProducer(AnnotatedField<?> field);
public Producer<?> createProducer(AnnotatedMethod<?> method);
{code}
If cases when the field or method is not static, it is unclear which contextual instance the created producer should operate upon.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (CDI-251) Fix typos in the spec
by Jozef Hartinger (JIRA)
Jozef Hartinger created CDI-251:
-----------------------------------
Summary: Fix typos in the spec
Key: CDI-251
URL: https://issues.jboss.org/browse/CDI-251
Project: CDI Specification Issues
Issue Type: Bug
Affects Versions: 1.1.EDR
Reporter: Jozef Hartinger
Assignee: Pete Muir
Priority: Trivial
Fix For: 1.1.PRD
implementation.xml: repeated instance(s) of 'a'.
implementation.xml: spell check failed on 'fielddeclared'
injectionelresolution.xml: spell check failed on 'qualifers'
interceptors.xml: spell check failed on 'definining'
licenseeval.xml: spell check failed on 'SPECFICATION'
licenseimpl.xml: spell check failed on 'IMPELEMENTING'
lifecycle.xml: spell check failed on 'beahvior'
preface.xml: spell check failed on 'Foreward'
spi.xml: spell check failed on 'Lanaguage'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (CDI-190) Require deployment-time validation of injection points defined on observer and disposer methods
by Jozef Hartinger (Created) (JIRA)
Require deployment-time validation of injection points defined on observer and disposer methods
-----------------------------------------------------------------------------------------------
Key: CDI-190
URL: https://issues.jboss.org/browse/CDI-190
Project: CDI Specification Issues
Issue Type: Feature Request
Affects Versions: 1.1.EDR1
Reporter: Jozef Hartinger
Fix For: 1.1.EDR2
The spec says:
{quote}
The container must validate all injection points of all enabled beans and of all other Java EE component classes supporting
injection when the application is initialized to ensure that there are no unsatisfied or unresolvable ambiguous dependen-
cies. If an unsatisfied or unresolvable ambiguous dependency exists, the container automatically detects the problem and
treats it as a deployment problem.
{quote}
This should be clarified to also include validation of injection points of observer and disposer methods of enabled beans.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (CDI-210) BeanManager.createBean() should use type variables instead of wildcards
by Jozef Hartinger (JIRA)
Jozef Hartinger created CDI-210:
-----------------------------------
Summary: BeanManager.createBean() should use type variables instead of wildcards
Key: CDI-210
URL: https://issues.jboss.org/browse/CDI-210
Project: CDI Specification Issues
Issue Type: Feature Request
Components: Portable Extensions
Affects Versions: 1.1.EDR1
Reporter: Jozef Hartinger
Fix For: 1.1 (Proposed)
{code}
public Bean<?> createBean(BeanAttributes<?> attributes, Class<?> beanClass, InjectionTarget<?> injectionTarget)
public Bean<?> createBean(BeanAttributes<?> attributes, Class<?> beanClass, Producer<?> producer)
{code}
I propose:
{code}
public <T> Bean<T> createBean(BeanAttributes<T> attributes, Class<T> beanClass, InjectionTarget<T> injectionTarget)
public <T> Bean<T> createBean(BeanAttributes<T> attributes, Class<?> beanClass, Producer<T> producer);
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months