[jira] Created: (WSIF-80) Java Provider enhanced to support Singletons
"Andrzej Taramina (JIRA)" <[email protected]> Sun, 27 Nov 2005 22:43:55 +0100 (CET)
| Newsgroups | gmane.comp.apache.webservices.wsif.devel |
|---|---|
| Message-ID | <[email protected]> |
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: future
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