You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <tu...@ws.apache.org> on 2007/07/21 10:14:06 UTC
[jira] Created: (TUSCANY-1472) Rationalize remove() interface of
ScopeContainer
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
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Resolved: (TUSCANY-1472) Rationalize remove() interface of
ScopeContainer
Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
[ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org