[ https://issues.apache.org/jira/browse/OFBIZ-10368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605486#comment-16605486 ]
Deepak Dixit commented on OFBIZ-10368: -------------------------------------- I prefert to craete new jira, as this task is complete I'll create new one. > Implement Depends on support for Component Loading. > --------------------------------------------------- > > Key: OFBIZ-10368 > URL: https://issues.apache.org/jira/browse/OFBIZ-10368 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: Trunk > Reporter: Pradhan Yash Sharma > Assignee: Jacques Le Roux > Priority: Minor > Fix For: Upcoming Branch > > Attachments: OFBIZ-10368.patch > > > 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. > > {code:java} > <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"/>{code} > > Now we can declare dependency and if any anomaly is found loading of > components will stop. -- This message was sent by Atlassian JIRA (v7.6.3#76005)