Class ElementScopedElementRegistry

java.lang.Object
dev.getelements.elements.sdk.spi.ElementScopedElementRegistry
All Implemented Interfaces:
ElementRegistry, AutoCloseable

public final class ElementScopedElementRegistry extends Object implements ElementRegistry
Provides a registry where a Element may be registered. Because each Element runs inside its own isolated ClassLoader, there may be multiple instances of this type. However, from the perspective of a Element, there is only one. The ElementRegistry also forms a hierarchy in which the element may load subordinate Elements which are equally isolated.