[JBoss JIRA] Created: (WELD-535) Injection does not occur into a scoped (proxied) bean the observer method is final
by Dan Allen (JIRA)
Injection does not occur into a scoped (proxied) bean the observer method is final
----------------------------------------------------------------------------------
Key: WELD-535
URL: https://jira.jboss.org/browse/WELD-535
Project: Weld
Issue Type: Bug
Components: Events
Affects Versions: 1.0.1.Final
Reporter: Dan Allen
If the observer method of a bean is private, and the bean which contains it has a scope (it's proxied), then injection into the bean does not occur.
For example, the injection points are null when the following observer is invoked:
@SessionScoped
public class SampleObserver implements Serializable {
@Inject SampleHelper helper;
private void observes(@Observes final SampleBean bean) {
System.out.println("Did injection occur? " + (helper = null ? "no" : "yes"));
}
}
Prints:
Did injection occur? no
--
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
14 years, 7 months
[JBoss JIRA] Created: (WELD-509) weld-parent POM should specify maven standard directory for docbook folder
by Lincoln Baxter III (JIRA)
weld-parent POM should specify maven standard directory for docbook folder
--------------------------------------------------------------------------
Key: WELD-509
URL: https://jira.jboss.org/jira/browse/WELD-509
Project: Weld
Issue Type: Task
Components: Infrastructure
Reporter: Lincoln Baxter III
To follow the Maven way, we want to put the docbook source in src/main/docbook. However, Weld is configured to put the sources right at the root.
current Weld way: docs/reference/en-US/*.xml
the way it should be: docs/reference/src/main/docbook/en-US/*.xml
The <sourceDirectory> element needs to be added:
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
...
<configuration>
<sourceDirectory>${project.basedir}/src/main/docbook</sourceDirectory>
<sourceDocumentName>master.xml</sourceDocumentName>
<masterTranslation>en-US</masterTranslation>
...
</configuration>
...
</plugin>
--
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
14 years, 7 months
[JBoss JIRA] Created: (WELD-495) readme.txt needs to be updated
by asookazian (JIRA)
readme.txt needs to be updated
------------------------------
Key: WELD-495
URL: https://jira.jboss.org/jira/browse/WELD-495
Project: Weld
Issue Type: Bug
Components: Documentation
Affects Versions: 1.0.1.Final
Environment: Windows XP, Weld 1.0.1-final, Maven 2.2.1, JBoss AS 6.0.0.M2
Reporter: asookazian
Priority: Trivial
The readme.txt for weld-1.0.1-final states "Currently, you must use JBoss AS 5.2.0.Beta1 (use nightly builds until released) or above deploy the provided examples out of the box."
The current recommended version of JBoss AS is 6.0.0.M2.
Also "Other application servers may be supported by the examples in the 1.0.0 release" needs to be fixed as well as this readme.txt is for 1.0.1-final. So perhaps the app servers need to be stated now.
--
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
14 years, 7 months