package de.ivu.elect.jee.startup;

import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.Instance;
import javax.inject.Inject;

import de.ivu.elect.jee.cdi.InstanceFinder;

@RequestScoped
public class PostStartupFinder implements InstanceFinder {

  @Inject
  private transient Instance<PostStartup> postStartups;

  @Inject
  private transient Instance<PostStartupAsync> postStartupsAsync;

  public Iterable<PostStartup> getPostStartups() {
    return postStartups;
  }

  public Instance<PostStartupAsync> getPostStartupsAsync() {
    return postStartupsAsync;
  }
}
