Class SupplierFactoryAdapter<T>

java.lang.Object
org.apache.hadoop.hbase.http.jersey.SupplierFactoryAdapter<T>
All Implemented Interfaces:
org.apache.hbase.thirdparty.org.glassfish.hk2.api.Factory<T>

@Private public class SupplierFactoryAdapter<T> extends Object implements org.apache.hbase.thirdparty.org.glassfish.hk2.api.Factory<T>
Use a Supplier of type T as a Factory that provides instances of T. Modeled after Jersey's internal implementation.
  • Field Details

  • Constructor Details

  • Method Details

    • provide

      public T provide()
      Specified by:
      provide in interface org.apache.hbase.thirdparty.org.glassfish.hk2.api.Factory<T>
    • dispose

      public void dispose(T instance)
      Specified by:
      dispose in interface org.apache.hbase.thirdparty.org.glassfish.hk2.api.Factory<T>