[esb-issues] [JBoss JIRA] Assigned: (JBESB-476) Make action, listener etc configuration setting by setter method the default
Mark Little (JIRA)
jira-events at lists.jboss.org
Thu May 10 17:21:52 EDT 2007
[ http://jira.jboss.com/jira/browse/JBESB-476?page=all ]
Mark Little reassigned JBESB-476:
---------------------------------
Assignee: Kevin Conner (was: Mark Little)
> Make action, listener etc configuration setting by setter method the default
> ----------------------------------------------------------------------------
>
> Key: JBESB-476
> URL: http://jira.jboss.com/jira/browse/JBESB-476
> Project: JBoss ESB
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 4.0
> Reporter: Tom Fennelly
> Assigned To: Kevin Conner
> Fix For: 4.2
>
>
> We currently configure everything by constructor. This is not great for a number of reasons:
> 1. It can't be compile time validated.
> 2. Not as "obvious" to someone developing against the API. If in an interface, their IDE (or at least compiler - if using a stone ax) will complain immediately that they're not implementing the interface correctly.
> 3. Makes our code a little bit more complicated re the reflection code that needs to be implemented.
> So I suggest making the interface (that all these things implement) contain a setter method that takes the config. The mandate on the implementation is that they contain a public default constructor.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the esb-issues
mailing list