Interface BootstrapService

All Superinterfaces:
Service
All Known Subinterfaces:
ClassFileServices
All Known Implementing Classes:
AbstractBootstrapService

public interface BootstrapService extends Service
Marks a Service that needs to clean up its state once bootstrap is finished.
Author:
Jozef Hartinger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called by Weld once it finishes initialization and before it starts serving requests.

    Methods inherited from interface org.jboss.weld.bootstrap.api.Service

    cleanup
  • Method Details

    • cleanupAfterBoot

      void cleanupAfterBoot()
      Called by Weld once it finishes initialization and before it starts serving requests. This method is not guaranteed to be called by Weld if the deployment fails with an error.