类 BeanHolder<O>

java.lang.Object
org.apache.shenyu.plugin.base.utils.BeanHolder<O>
类型参数:
O - o
所有已实现的接口:
Supplier<O>

public class BeanHolder<O> extends Object implements Supplier<O>
Bean holder.
  • 构造器详细资料

    • BeanHolder

      public BeanHolder(Supplier<O> supplier)
  • 方法详细资料

    • get

      public O get()
      Get bean.
      指定者:
      get 在接口中 Supplier<O>
      返回:
      bean
    • isNull

      public boolean isNull()
      Is null.
      返回:
      boolean