Class FishPond


  • @Dependent
    public class FishPond
    extends Object
    • Field Detail

      • postConstructCalled

        public boolean postConstructCalled
      • goldfish

        public Animal goldfish
      • goose

        public Goose goose
      • salmon

        @Inject
        public Salmon salmon
    • Constructor Detail

      • FishPond

        @Inject
        public FishPond​(Goldfish goldfish,
                        Goose goose)
    • Method Detail

      • postConstruct

        @PostConstruct
        public void postConstruct()
      • destroy

        @PreDestroy
        public void destroy()