Class AnimalShelter


  • @Named
    @ApplicationScoped
    public class AnimalShelter
    extends Object
    • Constructor Detail

      • AnimalShelter

        public AnimalShelter()
      • AnimalShelter

        @Inject
        public AnimalShelter​(Cat cat,
                             Dog dog)
    • Method Detail

      • test

        public Object test​(jakarta.interceptor.InvocationContext ctx)
      • postConstruct

        @PostConstruct
        public void postConstruct()
      • isPostConstructCalled

        public boolean isPostConstructCalled()
      • isRoomObserved

        public boolean isRoomObserved()
      • observesRoomInShelter

        public void observesRoomInShelter​(@Observes
                                          Room room)
      • getCat

        public Cat getCat()