[
https://jira.jboss.org/jira/browse/WELD-312?page=com.atlassian.jira.plugi...
]
Stuart Douglas commented on WELD-312:
-------------------------------------
PostConstruct and PreDestory are ok when applied to the bean class via the spi, they are
only ignored on a interceptor.
Interceptor annotations are not honoured by SPI
-----------------------------------------------
Key: WELD-312
URL:
https://jira.jboss.org/jira/browse/WELD-312
Project: Weld
Issue Type: Bug
Components: Bootstrap and Metamodel API
Reporter: Stuart Douglas
Assignee: Marius Bogoevici
Fix For: 1.0.1.CR2
Attachments: spi-interceptors-test.diff
When registering interceptors using the SPI weld ignores the information passed in via
the AnnotatedMethod object and instead looks for the AroundInvoke/PostConstruct/PreDestroy
annotations using reflection.
--
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