[ 
https://issues.apache.org/jira/browse/TUSCANY-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735108#action_12735108
 ] 

Simon Laws commented on TUSCANY-3174:
-------------------------------------

I've made a start on this based on the workspace we already have. It turned out 
to be pretty straightforward. I've checked in some changes (r797576) and an 
itest. Some thoughts I want to capture

- This approach is based on the workspace being a contribution containing other 
contributions. It can already be created by reading XML, I'm looking at 
interfaces to create it programmatically and I guess we could look at creating 
int by scanning a contribution in the future. 
- The workspace is slightly odd in that it has implementation classes that are 
not in the implementation module. I'm going to look to fix this
- I created a ContributionConfiguration structure but don't use it. I'm in two 
minds about how to describe an "unread" contribution to the workspace. At th 
moment I create an unresolved contribution model object



> Allow extension points to be updated and exercised programmatically 
> --------------------------------------------------------------------
>
>                 Key: TUSCANY-3174
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3174
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.5
>         Environment: All
>            Reporter: Simon Laws
>            Assignee: Simon Laws
>             Fix For: Java-SCA-1.5.1
>
>
> I have some domain manager scenarios in mind where I'd like to be able to 
> embed the Tuscany runtime and do the following
> - Add new extensions programmatically, i.e. not relying on the 
> META-INF/services information. I'd like this as in the case I have in mind 
> the runtime is already running at the point at which I want to add the 
> extensions
> - Read and resolve contributions in order that the resolved model can be 
> further analysed. I'd like to be able to print out the details of whats in 
> the model and the relationships between the components. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to