Class CustomizationReferenceSupplier<T>

  • All Implemented Interfaces:

    public final class CustomizationReferenceSupplier<@NonNull T>
    extends Object
    implements CustomizationSupplier<T>
    A reference to the customization to be used is set while building the cache. The reference is returned. The class loader is ignored.
    Jens Wilke
    • Constructor Detail

      • CustomizationReferenceSupplier

        public CustomizationReferenceSupplier​(@NonNull
                                              @NonNull T obj)
        Construct a customization factory that returns always the same object instance.
        obj - reference to a customization. Not null.