Changes between Version 6 and Version 7 of Web/Servlet


Ignore:
Timestamp:
Jan 24, 2015, 2:05:50 AM (6 years ago)
Author:
vadim.godunko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Web/Servlet

    v6 v7  
    99== Initialization of application ==
    1010
    11 When Spikedog loading application it lookup in loaded application's library for special symbol to resolve reference to object of application's initializer tagged type. This type should support Servlet.Container_Initializers.Servlet_Container_Initializer interface. Its On_Startup subprogram will be called after successful loading and initialization of application's dependencies. Application can do additional initialization in this subprogram (connect to database, for example) or create, register and configure listeners/servlets.
     11When Spikedog loads application it lookups in loaded application's library for special symbol to resolve reference to object of application's initializer tagged type. This type should support Servlet.Container_Initializers.Servlet_Container_Initializer interface. Its On_Startup subprogram will be called after successful loading and initialization of application's dependencies. Application can do additional initialization in this subprogram (connect to database, for example) or create, register and configure listeners/servlets.
    1212
    1313To provide this symbol application must instantiate Spikedog.Generic_Application_Initializer to application's initializer tagged type and link it in application's library. When you use GNAT tools you need to add instantiated package to the list of Library_Interfaces attribute of project file.