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 "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/01/24 06:09:49 UTC

[jira] Resolved: (AXIS2-2003) org.apache.axis.client.HandlerRegistryImpl.getHandlerChain(QName portName) create an ArrayList if the HandlerChain doesn't exists instead of an HandlerChainImpl

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

Deepal Jayasinghe resolved AXIS2-2003.
--------------------------------------

    Resolution: Won't Fix

Not belongs to Axis2 project 

> org.apache.axis.client.HandlerRegistryImpl.getHandlerChain(QName portName) create an ArrayList if the HandlerChain doesn't exists instead of an HandlerChainImpl
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2003
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2003
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: client-api
>    Affects Versions: nightly
>         Environment: All
>            Reporter: Fabien Carrion
>            Priority: Trivial
>             Fix For: nightly
>
>
> When somebody use the interface javax.xml.rpc.handler.HandlerRegistry to get the HandlerChain for a given Service. If there is no HandlerChain which already exists, the implementation create an ArrayList, and it should create an HandlerChainImpl.
> Code : axis-1_4/src/org/apache/axis/client/Service.java
> Line : 869
> Actual Code :
>         public List getHandlerChain(QName portName) {
>             // namespace is not significant, so use local part directly
>             String key = portName.getLocalPart();
>             List list = (List) map.get(key);
>             if (list == null) {
>                 list = new java.util.ArrayList();
>                 setHandlerChain(portName, list);
>             }
>             return list;
>         }
> Should be :
>         public List getHandlerChain(QName portName) {
>             // namespace is not significant, so use local part directly
>             String key = portName.getLocalPart();
>             List list = (List) map.get(key);
>             if (list == null) {
>                 HandlerInfoChainFactory Factory = new HandlerInfoChainFactory();
>                 list = Factory.createHandlerChain();
>                 setHandlerChain(portName, list);
>             }
>             return list;
>         }
> Cheers'
> Fabien Carrion

-- 
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