Hi:
Thanks a lot for Sameera's answer.
I know that Carbon use Equinox P2 performed the feature's resolution ,but
finally the bundles in the feature will be installed on the Carbon , how does
Carbon interact with Equinox P2 for getting the bundles to be installed ?
I think P2 resolve the feature and give a list of bundle to Carbon ,then
,carbon install these bundle.
If my opinion is right ,how does Carbon did that? which section code
interact with P2?
If I am wrong ,please tell me the true process.
Thank you .
ShiLiangliang
在2010-12-02,"Sameera Jayasoma" <[email protected]> 写道:-----原始邮件-----
发件人:"Sameera Jayasoma" <[email protected]>
发送时间:2010年12月2日 星期四
收件人:[email protected]
主题:Re: [Carbon-dev] In Carbon , how does carbon resolve the feature into bundles
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邮件收发
_______________________________________________
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