axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Gaiser (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-3699) Termination of the soapsession
Date Thu, 03 Apr 2008 13:00:24 GMT
Termination of the soapsession
------------------------------

                 Key: AXIS2-3699
                 URL: https://issues.apache.org/jira/browse/AXIS2-3699
             Project: Axis 2.0 (Axis2)
          Issue Type: New Feature
    Affects Versions: 1.3
            Reporter: Matthias Gaiser


I want to do some tidying up at the termination of the soapsession. The session is terminated
when the timeout, specified in axis2.xml, is reached.

It would be of great help if you could have something like a SessionLifeCycle interface. It
may contain two methods init() and destroy() which are called whenever the session is started
or terminated.
Like the ServiceLifeCycle, the implementing class of the SessionLifeCycle could be specified
via the services.xml, where you also have to declare that the service uses the soapsession
approach.

To clarify my request:
In a servicegroup with a single service I could do all the session specific initialization/termination
in the init()/destroy() method of the Service implementation class. But when there are multiple
services in a ServiceGroup, there is no way to init or destroy session-related resources used
by the whole serviceGroup.

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


Mime
View raw message