Class ElementScopedElementRegistrySupplier

java.lang.Object
dev.getelements.elements.sdk.spi.ElementScopedElementRegistrySupplier
All Implemented Interfaces:
ElementRegistrySupplier, Supplier<ElementRegistry>

public class ElementScopedElementRegistrySupplier extends Object implements ElementRegistrySupplier
Factory type for the ElementScopedElementRegistry. This holds single static instance which it always returns. It is intended to be used within the SPI implementation and not directly. The ElementClassLoader copies and re-defines this class for itself such that there is separate static instance per class-loader ensuring that an Element has it's own unique instance.
  • Constructor Details

    • ElementScopedElementRegistrySupplier

      public ElementScopedElementRegistrySupplier()
  • Method Details