[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-8695) Seam Solder generic bean validation.
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Wed Apr 6 16:11:33 EDT 2011
Seam Solder generic bean validation.
------------------------------------
Key: JBIDE-8695
URL: https://issues.jboss.org/browse/JBIDE-8695
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: cdi (jsr-299)
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.3.x
The type produced by generic configuration point must be the type declared in generic configuration annotation.
For example if we have the following generic configuration annotation:
{code:title=ACMEQueue.java|borderStyle=solid}
@Retention(RUNTIME)
@GenericType(MessageSystemConfiguration.class)
@interface ACMEQueue {
String name();
}
{code}
then the related configuration points must produce beans with the same type:
{code:title=MyMessageQueues.java|borderStyle=solid}
class MyMessageQueues {
@Produces
@ACMEQueue("defaultQueue")
MessageSystemConfiguration defaultQueue = new MessageSystemConfiguration();
...
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list