[
https://issues.apache.org/jira/browse/DELTASPIKE-920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek resolved DELTASPIKE-920.
-----------------------------------------
Resolution: Not A Problem
that isn't the goal of the existing method.
currently it's just used to get @Transactional and the base information comes
from InvocationContext -> we can't use AnnotatedType here.
however, with a custom TransactionStrategyHelper it's possible to change it to
a different approach (if needed).
if you need it for your custom code, you are welcome to reopen this ticket +
provide a patch which adds a new method (which needs to support qualifiers as
well).
> AnnotationUtils must work with AnnotatedType, not with raw annotations
> ----------------------------------------------------------------------
>
> Key: DELTASPIKE-920
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-920
> Project: DeltaSpike
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.4.0
> Reporter: Harald Wellmann
>
> {{AnnotationUtils}} uses reflection to find annotations on methods or
> classes.
> This approach does not consider the {{AnnotatedType}} abstraction layer
> defined in the [CDI
> spec|http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#alternative_metadata_sources].
> Any "logical annotation" added via a {{ProcessAnnotatedType}} observer is
> currently ignored by {{AnnotationUtils}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)