Interface RegistryHolder<API,ENTRY>

Type Parameters:
API - the registry's type
ENTRY - the type of the registry entry (for inlined values)
All Known Subinterfaces:
RegistryHolder.Inlined<API,ENTRY>, RegistryHolder.Reference<API,ENTRY>

@Experimental public sealed interface RegistryHolder<API,ENTRY> permits RegistryHolder.Reference<API,ENTRY>, RegistryHolder.Inlined<API,ENTRY>
During the registry loading phase, some values can be references to values to-be-loaded in the future, or inlined, anonymous values that already exist. This type (and subtypes) represent that structure.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A holder that contains an inlined registry entry, an anonymous value (does not have a key).
    static interface 
    A holder that references a registry value by key, but does not have the entry itself.