Package dev.getelements.elements.sdk
Class ElementLoader.Default
java.lang.Object
dev.getelements.elements.sdk.ElementLoader.Default
- All Implemented Interfaces:
ElementLoader
,ElementStandardBeanProperties
- Enclosing interface:
ElementLoader
Used to specify the system default
ElementLoader
. When the ElementDefinition
specifies this,
Elements will provide the ElementLoader
implementation via SPI.-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.getelements.elements.sdk.ElementLoader
ElementLoader.Default
Nested classes/interfaces inherited from interface dev.getelements.elements.sdk.ElementStandardBeanProperties
ElementStandardBeanProperties.StandardBeanProperty<T>
-
Field Summary
Fields inherited from interface dev.getelements.elements.sdk.ElementLoader
SYSTEM_EVENT_ELEMENT_LOADED
Fields inherited from interface dev.getelements.elements.sdk.ElementStandardBeanProperties
ELEMENT_DEFINITION_RECORD, ELEMENT_DEFINITION_RECORD_PROPERTY, ELEMENT_RECORD, ELEMENT_RECORD_PROPERTY, ELEMENT_REGISTRY, ELEMENT_REGISTRY_PROPERTY, SERVICE_LOCATOR, SERVICE_LOCATOR_PROPERTY
-
Method Summary
Modifier and TypeMethodDescriptionGets theElementRecord
, which can be invoked before attepting aElementLoader.load()
orElementLoader.load(MutableElementRegistry)
operation.load()
Loads a new instance of theElement
without a parent registry.load
(MutableElementRegistry parent) Loads a new instance of theElement
with the suppliedElementRegistry
as the parent.
-
Method Details
-
load
Description copied from interface:ElementLoader
Loads a new instance of theElement
without a parent registry.- Specified by:
load
in interfaceElementLoader
-
load
Description copied from interface:ElementLoader
Loads a new instance of theElement
with the suppliedElementRegistry
as the parent.- Specified by:
load
in interfaceElementLoader
- Returns:
- the
Element
, loaded
-
getElementRecord
Description copied from interface:ElementLoader
Gets theElementRecord
, which can be invoked before attepting aElementLoader.load()
orElementLoader.load(MutableElementRegistry)
operation.- Specified by:
getElementRecord
in interfaceElementLoader
- Returns:
- the
ElementRecord
-