title: Does Guice have an annotation similar to Spring's @Mandatory or @Required?
body: <p>Guice does not require initialization of provides methods in the modules, allowing the service to start running without these consumers initializing, which can result in major issues after an outage.</p>
  <p>Is there a way to require this initialization - similar to @Mandatory or @Required in Spring?</p>
  <p>If not, how would we make initialization mandatory?</p>
  <p>The code itself probably won't add anything, but here's a general version of what we are trying to ensure initicalizes within the module itself:</p>
  <pre><code>@Provides
  @Singleton
  public TriggeredConsumer triggeredConsumer(variousParameters) {
      TriggeredConsumer triggeredConsumer = new TriggeredConsumer(variousParameters);
  
      triggeredConsumer.start();
      shutdownHook.thenRun(triggeredConsumer::stop);
  
      return triggeredConsumer;
  }
  </code></pre>