You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2019/06/15 10:57:00 UTC
[jira] [Commented] (OFBIZ-11100) Remove support for
"ofbiz-containers.xml"
[ https://issues.apache.org/jira/browse/OFBIZ-11100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16864659#comment-16864659 ]
Jacques Le Roux commented on OFBIZ-11100:
-----------------------------------------
For my own peace of mind, here is a [copy of a question from Michael on dev ML|https://markmail.org/message/wg3we4cnq7iphzvp]
{quote}
Hi Mathieu,
thanks for your proposal. Just a few questions to get the whole picture:
1. do we really have a complexity problem here? The removed code seems not too complicated or long.
2. what do we lose with the removal? I see one can not only configure the ComponentContainer class but also set different loaders.
@all: are there any implementations which make use of this?
Thanks and regards,
Michael
{quote}
> Remove support for "ofbiz-containers.xml"
> -----------------------------------------
>
> Key: OFBIZ-11100
> URL: https://issues.apache.org/jira/browse/OFBIZ-11100
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Mathieu Lirzin
> Assignee: Mathieu Lirzin
> Priority: Major
> Attachments: OFBIZ-11100_Deprecate-ContainerConfig-getConfiguration.patch, OFBIZ-11100_Remove-support-for-ofbiz-containers.xml.patch
>
>
> To extend the containers loaded on startup, it is possible define a
> container element either in the global “ofbiz-containers.xml” file or in
> the “ofbiz-component.xml” file from each component.
> This redundancy adds extra complexity in the startup process for no good
> extensibility reason. The component container loader is more flexible
> since it allows developper to add new containers without touching the
> framework so it is better to only rely on this option.
> In order to simplify the startup process I am proposing to remove the
> "ofbiz-containers.xml" config file and hard-code the required base
> container which is loading the components which is currently defined in
> this file.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)