You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Thilina Buddhika (JIRA)" <ji...@apache.org> on 2008/01/08 12:52:33 UTC

[jira] Updated: (AXIS2-3283) No access to the operationContextMap in the ConfigurationContext class

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

Thilina Buddhika updated AXIS2-3283:
------------------------------------

    Attachment: AXIS2-3283.patch

Following method was added.
public boolean isAnyOperationContextRegistered(){
      if(operationContextMap.isEmpty()){
           return false;
      }
      else{
          return true;
       }
 }

It will return true if it has any Operation contexts that are registered, otherwise it will return false.

> No access to the operationContextMap in the ConfigurationContext class
> ----------------------------------------------------------------------
>
>                 Key: AXIS2-3283
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3283
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: kernel
>    Affects Versions: 1.3
>            Reporter: Alexander Koezle
>            Assignee: Deepal Jayasinghe
>         Attachments: AXIS2-3283.patch
>
>
> I'm upgrading my existing code based on axis 1.1 to the 1.3 version and I get a following problem: 
> I used the ConfigurationContext#getOperationContextMap method to check if the map is empty or still has any registered operation contexts. I use that e.g. during the application shutdown to test, if some service calls are still running (e.g. if using non blocking calls). In 1.3 version the operationContextMap has only private access, so i can't check if it is empty or not.  So i would like to have something like isAnyOperationContextRegistered() method in the ConfigurationContext class. 
> If there is another way to the information I need, please let me now.
> regards

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org