[ 
https://issues.apache.org/jira/browse/TUSCANY-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Sebastien Delfino resolved TUSCANY-1472.
---------------------------------------------

    Resolution: Fixed

Scope container is not part of the SPI, it is in tuscany-core not 
tuscany-core-spi. I removed the incorrect "remove()" method.

> Rationalize remove() interface of ScopeContainer
> ------------------------------------------------
>
>                 Key: TUSCANY-1472
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1472
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA Core Runtime
>            Reporter: Simon Laws
>            Priority: Minor
>             Fix For: Java-SCA-Next
>
>
> The ScopeContainer interface currently contains a method remove() which 
> doesn't take a contextId. This is at odds with the other methods of this 
> interface which do take an Id. 
> There is currently a single reference to the remove() method in 
> JavaComponentInfo
>     public void removeInstance() throws PersistenceException {
>         ((ScopedRuntimeComponent) component).getScopeContainer().remove();
>     }
> The ScopeContainer is not itself in the declared SPI but there is a default 
> implementation of this method in the AbstractScopeContainer  which is part of 
> the declared SPI. 
> A new remove(contextId) method has been added. Can we now get rid of remove()

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to