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.DefaultNested 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_LOADEDFields 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 theElementwithout a parent registry.load(MutableElementRegistry parent) Loads a new instance of theElementwith the suppliedElementRegistryas the parent.
-
Method Details
-
load
Description copied from interface:ElementLoaderLoads a new instance of theElementwithout a parent registry.- Specified by:
loadin interfaceElementLoader
-
load
Description copied from interface:ElementLoaderLoads a new instance of theElementwith the suppliedElementRegistryas the parent.- Specified by:
loadin interfaceElementLoader- Returns:
- the
Element, loaded
-
getElementRecord
Description copied from interface:ElementLoaderGets theElementRecord, which can be invoked before attepting aElementLoader.load()orElementLoader.load(MutableElementRegistry)operation.- Specified by:
getElementRecordin interfaceElementLoader- Returns:
- the
ElementRecord
-