geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Xiao (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6305) Start bundles in EBA according to bundle dependencies
Date Wed, 28 Mar 2012 17:17:27 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240553#comment-13240553
] 

Yi Xiao commented on GERONIMO-6305:
-----------------------------------

Sorry for response so late.

Ivan,
1&2 I have modified the code and the issues is gone now. About the 3, maybe could use
the check cycle algorithm in future~

Jarek,

The algorithm you supplied will cause an endless-loop if A->B->A, so still need a flag
to mark the bundle is visited. I still
construct the graph first and then use DFS to get the sorted bundles.


                
> Start bundles in EBA according to bundle dependencies
> -----------------------------------------------------
>
>                 Key: GERONIMO-6305
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6305
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: osgi-bundles
>            Reporter: Yi Xiao
>            Assignee: Yi Xiao
>         Attachments: startBundlesInOrder_6305.patch, startBundlesInOrder_6305_fix.patch
>
>
> As the bundles have the dependency, so need to provide the correct order when they start
up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message