[jira] [Created] (DELTASPIKE-739) BeanBuilder#readFromType should respect @Typed
Ron Smeral created DELTASPIKE-739: - Summary: BeanBuilder#readFromType should respect @Typed Key: DELTASPIKE-739 URL: https://issues.apache.org/jira/browse/DELTASPIKE-739 Project: DeltaSpike Issue Type: Bug Components: Core Affects Versions: 1.0.3 Reporter: Ron Smeral {{BeanBuilder#readFromType}} currently includes all superclasses of a type in the set of bean types and it does not respect the {{@Typed}} annotation. This currently also causes a problem with PartialBeans which use {{@Typed}}. Example: {code} public interface Rules {} {code} {code} public class BaseRules implements Rules {} {code} {code} @SomePartialBeanBinding @Typed(AdminRules.class) public abstract class AdminRules implements Rules {} {code} {code} public class Controller { @Inject private Rules rules; } {code} This causes a deployment exception - ambiguous dependencies. The expected behaviour would be, that {{AdminRules}} is not resolvable as {{Rules}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-739) BeanBuilder#readFromType should respect @Typed
[ https://issues.apache.org/jira/browse/DELTASPIKE-739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Porter updated DELTASPIKE-739: Assignee: Rafael Benevides (was: Jason Porter) BeanBuilder#readFromType should respect @Typed -- Key: DELTASPIKE-739 URL: https://issues.apache.org/jira/browse/DELTASPIKE-739 Project: DeltaSpike Issue Type: Bug Components: Core Affects Versions: 1.0.3 Reporter: Ron Smeral Assignee: Rafael Benevides Attachments: ds-beanbuilder-typed-reproducer.zip {{BeanBuilder#readFromType}} currently includes all superclasses of a type in the set of bean types and it does not respect the {{@Typed}} annotation. This currently also causes a problem with PartialBeans which use {{@Typed}}. Example: {code} public interface Rules {} {code} {code} public class BaseRules implements Rules {} {code} {code} @SomePartialBeanBinding @Typed(AdminRules.class) public abstract class AdminRules implements Rules {} {code} {code} public class Controller { @Inject private Rules rules; } {code} This causes a deployment exception - ambiguous dependencies. The expected behaviour would be, that {{AdminRules}} is not resolvable as {{Rules}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)