Interface DependencyRegistrationHookProvider

All Known Implementing Classes:
DefaultDependencyWatcher

public interface DependencyRegistrationHookProvider
Implementations of this interface are required to register dependency registration hooks on startup and their cleaning upon application context shutdown.
Since:
1.0.0
Author:
Marcin Grzejszczak
  • Method Details

    • registerDependencyRegistrationHooks

      void registerDependencyRegistrationHooks() throws Exception
      Register hooks upon dependencies registration.
      Throws:
      Exception - if registration fails.
    • clearDependencyRegistrationHooks

      void clearDependencyRegistrationHooks() throws IOException
      Unregister hooks upon dependencies registration.
      Throws:
      IOException - if clearing fails.