Description
Components are loaded in the order they are found (i.e. alphabetic or creation date). This can be altered. We have a pending feature support for ofbiz-component, for creating a series of dependency for component loading, before loading a particular component.
Here we can define dependency for a component like Component ebaystore is dependent on Component ebay (even multiple dependencies for a single component is also supported). We can declare it in this fashion in ofbiz-component.xml file.
<ofbiz-component name="ebaystore" enabled="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> <depends-on component-name="ebay"/>
Now we can declare dependency and if any anomaly is found loading of components will stop.
Attachments
Attachments
Issue Links
- causes
-
OFBIZ-11258 ConcurrentModificiationException with <depends-on>
- Closed
-
OFBIZ-11275 bug in depends-on in ofbiz-component.xml
- Closed
- is related to
-
OFBIZ-3500 Umbrella issue for components dependency
- Open