Add system level initialization/cleanup hooks
---------------------------------------------
Key: AXIS2-921
URL: http://issues.apache.org/jira/browse/AXIS2-921
Project: Apache Axis 2.0 (Axis2)
Issue Type: New Feature
Reporter: Dave Cowing
Axis2 should provide a mechanism to execute system level initialization, where
resources available across services can be initialized outside of a service
request. The classic use of this is to create and initialize a database pool,
in order to remove the connection creation from any single service request, as
well as to limit the number of database connections that can be open at a given
time.
The mechanism should have access at least to the ConfigurationContext. It
would be nice if it could also access a ServiceGroupContext, but I'm not sure
if this will work.
As an analogy, in a servlet, this can be done using a servlet listener, which
gets a message when the servlet is created and another when it's destroyed.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]