[JBoss JIRA] Created: (WELD-311) Producer field behavior differs from producer method
by alberto Gori (JIRA)
Producer field behavior differs from producer method
----------------------------------------------------
Key: WELD-311
URL: https://jira.jboss.org/jira/browse/WELD-311
Project: Weld
Issue Type: Bug
Components: Producers (Methods, Fields and Disposers)
Affects Versions: 1.0.0.CR1
Environment: Ubuntu 9.10, Java 6.
Reporter: alberto Gori
This producer field inject a Temp object into the request scope, corretly.
@Named @SessionScoped
public class HelloWorld implements Serializable {
@Produces @RequestScoped @TenTemp
public Temp getTemp() {
return new Temp(10);
}
}
The same producer written as a field create a session scoped object (note that the main bean is session scoped too) instead of request scoped.
@Named @SessionScoped
public class HelloWorld implements Serializable {
@Produces @RequestScoped @TenTemp Temp t = new Temp(10);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] Created: (WELD-614) Scalability problem with class framework APIs
by David Allen (JIRA)
Scalability problem with class framework APIs
---------------------------------------------
Key: WELD-614
URL: https://jira.jboss.org/browse/WELD-614
Project: Weld
Issue Type: Bug
Components: Bootstrap and Metamodel API
Affects Versions: 1.0.1.Final
Reporter: David Allen
Assignee: David Allen
Fix For: 1.1.0.BETA2
When external API frameworks are used in conjunction with a Weld deployment, the class hierarchies are redundantly reflected causing an abundance of collections of redundant methods and members to be created. As a simple example, consider the Struts framework. It has only a few basic classes from which many application classes extend. While the application classes may themselves have few methods or members, the base classes can have many, which in this case are duplicated for each application class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] Created: (WELD-653) Misc Documentation issues
by Pete Muir (JIRA)
Misc Documentation issues
-------------------------
Key: WELD-653
URL: https://jira.jboss.org/browse/WELD-653
Project: Weld
Issue Type: Bug
Components: Documentation
Affects Versions: 1.1.0.Beta1
Reporter: Jozef Hartinger
Assignee: Pete Muir
Attachments: code_samples.png
readme.txt
- the second paragraph says "This is feature complete release of the CDI specification." IMHO it should say "This is a feature complete implementation of the CDI specification."
- the licensing section says "the Apache License, Version 2.0" it should say "ASL 2.0" or "Apache Source License 2.0"
- Source code reference should be "http://github.com/weld" not "http://anonsvn.jboss.org/repos/weld"
examples/readme.txt
- the pastecode example is not mentioned
- se/helloworld should be se/hello-world
- remove wicket example reference
examples/se/numberguess/readme.txt
- mentions Web Beans
- restricts maven to version 2 (maven 3 users should not be limited)
examples/se/helloworld/readme.txt
- mentions Web Beans
- instructions are wrong (examples/se/hello-world should be used instead of examples/se/numberguess)
- restricts maven to version 2 (maven 3 users should not be limited)
Javadoc
- doc/apidoc contains CDI javadoc only (no Weld-specific docs)
Reference documentation
- remove wicket references - entire section 7.2
- update SCM references (Chapter 17)
- code sample references (numbers) not rendered correctly in the HTML version (see the attached screenshot)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months