Package dev.getelements.elements.sdk.spi
Class DefaultSharedElementLoader
java.lang.Object
dev.getelements.elements.sdk.spi.DefaultSharedElementLoader
- All Implemented Interfaces:
ElementLoader
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.getelements.elements.sdk.ElementLoader
ElementLoader.Default -
Field Summary
Fields inherited from interface dev.getelements.elements.sdk.ElementLoader
ELEMENT_RECORD, SERVICE_LOCATOR, SYSTEM_EVENT_ELEMENT_LOADED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theElementRecord, which can be invoked before attepting aElementLoader.load()orElementLoader.load(MutableElementRegistry)operation.load(MutableElementRegistry parent) Loads a new instance of theElementwith the suppliedElementRegistryas the parent.voidsetElementRecord(ElementRecord elementRecord) voidsetServiceLocator(ServiceLocator serviceLocator) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.sdk.ElementLoader
load
-
Constructor Details
-
DefaultSharedElementLoader
public DefaultSharedElementLoader()
-
-
Method Details
-
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
-
setElementRecord
-
getServiceLocator
-
setServiceLocator
-