API Support wrote:
And with our suggested approach you would add an @Library annotation and an import declaration and do the same. What is so inconvenient about this?
Approach I suggested is more native extension of JForex API.
@Library annotation, I think, is work around in extending API..
I think it would be better to set up default "Recipient mail", "Sender mail" and "SMTP host" in plugin settings page (in one place).
I am not sure if
@Library annotation support
jfx extension..
Another advantage is less code in strategy.
If I will use in strategy a lot of libraries - annotation will look ugly and not readable.
And plugin easier to distribute.
Email sender is just simple example. Please, imaging more complex extensions.
Thank you.