[
https://issues.apache.org/jira/browse/JAMES-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056609#comment-13056609
]
Stefano Bagnara commented on JAMES-1282:
----------------------------------------
IMO a bunch of interfaces in a package named "api" doesn't make it a real API
automatically. An api is much more than this (and IMO it doesn't even need
interfaces or a package named api to be an api). That's why I think the
previous solution (a single module) is still the best. I see no reasons to
separate it into multiple modules so I would simply keep a single one. I looked
at the code in that api package and I still think that it is not an api because
I don't really understand why someone should program against that interfaces:
we created that interfaces mainly because avalon worked that way (1 interface
per service).
That said I won't veto the change, I just wanted to speak loudly about a change
I don't like as soon as I saw it (the fact that I spent my few development time
to merge them few months ago explain how much I feel this :-) ).
To change my mind I would have to see an alternative, (non camel based),
implementation that still use some common code (I would write everything from
scratch without reusing that "loader" stuff, simply because no other james
module really care of that api, so it is really some small interface local to
the spooler and doesn't create any cooperation/bridge/contract with the rest of
james modules. So IMO that interfaces do not worth a module.
> API package in mailetcontainer-library should be moved to new module
> ---------------------------------------------------------------------
>
> Key: JAMES-1282
> URL: https://issues.apache.org/jira/browse/JAMES-1282
> Project: JAMES Server
> Issue Type: Task
> Components: SpoolManager & Processors
> Affects Versions: 3.0-M2
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Fix For: 3.0-beta1
>
>
> To better seperate the implementation from the api its necessary to move the
> API package out of mailetcontainer-library to its extra module
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]