[cdi-dev] [JBoss JIRA] Commented: (CDI-28) Abstract methods on decorators

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Mon May 23 13:52:09 EDT 2011


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

Marius Bogoevici commented on CDI-28:
-------------------------------------

George, Service Handlers is a different story (with the potential of being complementary if you will). Here we just leave decorator implementors to forgo stuff like

void decoratedMethod() {
  return delegate.decoratedMethod();
}

and leave decoratedMethod() unimplemented instead.

> Abstract methods on decorators
> ------------------------------
>
>                 Key: CDI-28
>                 URL: https://issues.jboss.org/browse/CDI-28
>             Project: CDI Specification Issues
>          Issue Type: Bug
>          Components: Decorators
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>            Assignee: Marius Bogoevici
>             Fix For: 1.1 (Proposed)
>
>
> If a method is abstract:
> * if it is a method of a decorated type, it has a generated implementation that calls the delegate
> * otherwise, definition error

--
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