ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Patidar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10368) Implement Depends on support for Component Loading.
Date Sat, 23 Jun 2018 10:26:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-10368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521039#comment-16521039

Arun Patidar commented on OFBIZ-10368:

+1, nice idea. But did not tested the feature locally.

> 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
>            Priority: Minor
>             Fix For: Trunk
>         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

This message was sent by Atlassian JIRA

View raw message