[
https://jira.jboss.org/browse/JBESB-476?page=com.atlassian.jira.plugin.sy...
]
Kevin Conner closed JBESB-476.
------------------------------
Fix Version/s: (was: 4.x)
Resolution: Out of Date
Tom is looking at creating actions using annotations, which is as far as we intend to go
with ESB 4.x codebase.
Make action, listener etc configuration setting by setter method the
default
----------------------------------------------------------------------------
Key: JBESB-476
URL:
https://jira.jboss.org/browse/JBESB-476
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Configuration
Affects Versions: 4.0
Reporter: Tom Fennelly
Assignee: Kevin Conner
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:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira