Search code examples
exiteiffel

Eiffel: EWF_APP_EXECUTION (EWF application) exit function


As there is an initialize function, is there an exit/on_exit function such as I can close my database connection into it?


Solution

  • Called in each request which is probably not the best solution but I have chosen following way for the moment:

    Redefine the clean procedure of WSF_FILTERED_ROUTED_EXECUTION inherited into the classical EWF_APP_EXECUTION to close the connection

    Connect into the redefined initialize