[cdi-dev] [JBoss JIRA] Commented: (CDI-110) Allow injection of abstract classes (Service Handler)

George Gastaldi (JIRA) jira-events at lists.jboss.org
Tue Mar 22 01:07:45 EDT 2011


    [ https://issues.jboss.org/browse/CDI-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589524#comment-12589524 ] 

George Gastaldi commented on CDI-110:
-------------------------------------

{quote}
<mojavelinux> so you would have @ServiceHandler on the invocation handler
<mojavelinux> @ServiceHandler on the @ServiceHandlerBindingType
<mojavelinux> and then whatever that annotation is, you annotate the interface
<mojavelinux> also, another key thing that the current service handler is missing
<mojavelinux> is that it should be possible to have an abstract class with regular methods that are not intercepted
<mojavelinux> only methods which have no implementation get handled
{quote}

> Allow injection of abstract classes (Service Handler)
> -----------------------------------------------------
>
>                 Key: CDI-110
>                 URL: https://issues.jboss.org/browse/CDI-110
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Inheritance and Specialization
>    Affects Versions: 1.1 (Proposed)
>            Reporter: George Gastaldi
>              Labels: cdi
>
> According to mojavelinux:
> {quote}
> <mojavelinux> service handler, interceptors and decorators are all complementary
> <mojavelinux> and cdi is missing the first...which we now realize
> {quote}
> CDI 1.1 should provide a way to inject abstract classes by specifying a ServiceHandler (Check http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/servicehandler.html)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list