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 Nash (JIRA)" <tu...@ws.apache.org> on 2008/01/30 19:02:53 UTC
[jira] Commented: (TUSCANY-2021)
ComponentContext.getRequestContext() does not return null when no active
request
[ https://issues.apache.org/jira/browse/TUSCANY-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564108#action_12564108 ]
Simon Nash commented on TUSCANY-2021:
-------------------------------------
I have created an OASIS spec issue for this as I don't think the required behaviour is clear,
> ComponentContext.getRequestContext() does not return null when no active request
> --------------------------------------------------------------------------------
>
> Key: TUSCANY-2021
> URL: https://issues.apache.org/jira/browse/TUSCANY-2021
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-1.1
> Environment: All
> Reporter: Simon Nash
> Assignee: Simon Nash
> Priority: Minor
> Fix For: Java-SCA-Next
>
>
> When calling ComponentContext.getRequestContext() from an @Init method, null should be returned (see lines 809/810 of the Java Annotations and APIs spec). Instead, a non-functional instance of RequestContextImpl is returned.
--
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