[seam-issues] [JBoss JIRA] Commented: (SEAMCATCH-41) Provide SPI for registering HandlerMethod programatically
Jozef Hartinger (JIRA)
jira-events at lists.jboss.org
Mon May 16 04:05:01 EDT 2011
[ https://issues.jboss.org/browse/SEAMCATCH-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602216#comment-12602216 ]
Jozef Hartinger commented on SEAMCATCH-41:
------------------------------------------
I reviewed the develop branch. I like the HandlerMethod interface being cleaned. This gives much more freedom for possible extension. On the other hand, it is still easy to register a new standard-style handler method which cannot be registered by scanning (e.g. because it is outside of BDA on a CDI bean added by extension during bootstrap) by using HandlerMethodImpl.
The only thing I don't quite understand is why equals() and hashCode() methods are defined explicitly on the interface. These definitions themselves won't force people to override these methods anyway.
> Provide SPI for registering HandlerMethod programatically
> ---------------------------------------------------------
>
> Key: SEAMCATCH-41
> URL: https://issues.jboss.org/browse/SEAMCATCH-41
> Project: Seam Catch
> Issue Type: Feature Request
> Components: Framework Integration
> Affects Versions: 3.0.0.Beta1
> Reporter: Jozef Hartinger
> Assignee: Jason Porter
> Fix For: 3.1.0.Alpha
>
>
> It would be nice to offer registerHandlerMethod(HandlerMethod<?> method) for other modules to be able to register handler methods.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list