You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-dev@ws.apache.org by "Aleksander Slominski (JIRA)" <ws...@ws.apache.org> on 2005/11/28 23:18:40 UTC

[jira] Resolved: (WSIF-80) Java Provider enhanced to support Singletons

     [ http://issues.apache.org/jira/browse/WSIF-80?page=all ]
     
Aleksander Slominski resolved WSIF-80:
--------------------------------------

    Fix Version: current (nightly)
                     (was: future)
     Resolution: Fixed

chnages applied in SVN

> Java Provider enhanced to support Singletons
> --------------------------------------------
>
>          Key: WSIF-80
>          URL: http://issues.apache.org/jira/browse/WSIF-80
>      Project: Axis-WSIF
>         Type: New Feature
>   Components: Basic Architecture
>     Versions: current (nightly)
>     Reporter: Andrzej Taramina
>      Fix For: current (nightly)
>  Attachments: WSIFOperation_Java.txt, WSIFPort_Java.txt
>
> The current implementation of the Java Provider supports methodType = instance/static/constructor in the WSDL binding.
> When using methodType=instance, a new instance of the java service class is instantiated for every service invocation.
> I've added a new methodType=singleton, which will get the java service class by calling a static getInstance() method on the class instead, thus avoiding the creation of new instances for each invocation, and preserving singleton semantics.
> This includes patches to:  WSIFOperation_Java.java and WSIFPort_Java.java source.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira