Class OptionalBean<T>


  • public class OptionalBean<T>
    extends Object
    Proxyable alternative to java.util.Optional. Optional cannot be used with CDI because it is final.
    Author:
    Jakub Senko
    • Constructor Detail

      • OptionalBean

        public OptionalBean()
        This constructor is public to avoid an error in Quarkus and should not be called directly.
      • OptionalBean

        public OptionalBean​(T value)
        This constructor is public to avoid an error in Quarkus and should not be called directly.