[jira] [Updated] (DELTASPIKE-853) Use @Stereotype for interface/enum discovery
[ https://issues.apache.org/jira/browse/DELTASPIKE-853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-853: Assignee: Daniel Cunha (soro) Use @Stereotype for interface/enum discovery Key: DELTASPIKE-853 URL: https://issues.apache.org/jira/browse/DELTASPIKE-853 Project: DeltaSpike Issue Type: Task Reporter: Jozef Hartinger Assignee: Daniel Cunha (soro) In several places DeltaSpike uses ProcessAnnotatedType to discover interfaces/enum provided by the application. These interfaces/enums are usually annotated with a marker annotation, e.g.: * @MessageBundle * @View/@Folder * @Repository * most likely others This works fine in explicit bean archives, where PAT is fired for each and every interface/enum within the archive. In CDI 1.1+ implicit bean archives, this won't work however as PAT is only fired for classes with a bean defining annotation. One option to make these extensions work in CDI 1.2 environment is to add @Stereotype to the marker annotations. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-853) Use @Stereotype for interface/enum discovery
[ https://issues.apache.org/jira/browse/DELTASPIKE-853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-853: Assignee: Daniel Cunha (soro) (was: Gerhard Petracek) Use @Stereotype for interface/enum discovery Key: DELTASPIKE-853 URL: https://issues.apache.org/jira/browse/DELTASPIKE-853 Project: DeltaSpike Issue Type: Task Reporter: Jozef Hartinger Assignee: Daniel Cunha (soro) In several places DeltaSpike uses ProcessAnnotatedType to discover interfaces/enum provided by the application. These interfaces/enums are usually annotated with a marker annotation, e.g.: * @MessageBundle * @View/@Folder * @Repository * most likely others This works fine in explicit bean archives, where PAT is fired for each and every interface/enum within the archive. In CDI 1.1+ implicit bean archives, this won't work however as PAT is only fired for classes with a bean defining annotation. One option to make these extensions work in CDI 1.2 environment is to add @Stereotype to the marker annotations. -- This message was sent by Atlassian JIRA (v6.3.4#6332)