Hi,

We are using Equinox P2 as the underlying provisioning framework in WSO2
Carbon. This feature resolution is performed by Equinox P2. Feature Manager
provides Web services interface for provisioning operations. If you
interested in the resolution aspect, please have a look at the Equinox P2
source code.

Thanks
Sameera

2010/12/1 Shi Liangliang <[email protected]>

> Hello  everyone:
>
>      Can you tell me how does  Carbon resolve the feature into bundles?
>      I read the source code of org.wso2.carbon.component.mgt.core and
> org.wso2.carbon.component.mgt.service,
>      According to my understanding, the general process is as follows:
>      if there is a install feature request,
>      A. it will call the  method
>      ProvisioningActionResultInfo reviewProvisioningAction(...,...){ }  of
> the     ProvisionServiceAdmin Class  to check whether the ProvisioningAction
> will be OK.
>      if it is Ok,
>      B.it will  call the method   boolean performProvisioningAction(String
> actionType){ }
>      then the ProvisioningAction (may be the Install Action) will be
> performed,
>      in this method ,it contains  two steps,
>        first ,it will get a resolutionResult  according the ActionType and
> some other parameter,
>        the second,
>  the  ProvisioningUtils.performProvisioningAction(resolutionResult) will be
> performed.
>
>
>     but I couldn't find how does the carbon find the feature's bundle?
>     sorry to ask you to give me some instructions to this  question!
> Thank you!
>
>  ShiLiangliang
>
>
>
>
> ------------------------------
> 网易163/126邮箱百分百兼容iphone 
> ipad邮件收发<http://help.163.com/special/00753VB9/126mail_adv_guide.html?id=2840>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to