Interface IModuleImplementation
Describes module implementation
Inherited Members
Namespace: Azos.Apps
Assembly: Azos.dll
Syntax
public interface IModuleImplementation : IModule, IApplicationComponent, INamed, IOrdered, IDisposable, IConfigurable, IInstrumentable, IExternallyParameterized
Methods
ApplicationAfterInit()
Called by the application container after all services have initialized. DI into this module has already happened before this call. An implementation is expected to notify all subordinate (child) modules. The call is used to perform initialization tasks such as inter-service dependency fixups by code, initial data loads (e.g. initial cache fetch etc..) after everything has loaded in the application container. The implementation is expected to handle internal exceptions gracefully (i.e. use log etc.)
Declaration
void ApplicationAfterInit()
ApplicationBeforeCleanup()
Called by the application container before services shutdown. An implementation is expected to notify all subordinate (child) modules. The call is used to perform finalization tasks such as inter-service dependency cleanups, buffer flushes etc. before the application container starts to shutdown. The implementation is expected to handle internal exceptions gracefully (i.e. use log etc.)
Declaration
void ApplicationBeforeCleanup()