Class StandardElementsLocal
java.lang.Object
dev.getelements.elements.sdk.local.StandardElementsLocal
- All Implemented Interfaces:
ElementsLocal
,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes thisElementsLocal
.Gets the rootElementRegistry
used by the local runner.run()
Runs the instance and will block until shutdown.void
setElementsWebServices
(ElementsWebServices elementsWebServices) void
setRootElementRegistry
(MutableElementRegistry rootElementRegistry) start()
Starts thisElementsLocal
.
-
Constructor Details
-
StandardElementsLocal
public StandardElementsLocal()
-
-
Method Details
-
start
Description copied from interface:ElementsLocal
Starts thisElementsLocal
.- Specified by:
start
in interfaceElementsLocal
- Returns:
- this instance
-
run
Description copied from interface:ElementsLocal
Runs the instance and will block until shutdown.- Specified by:
run
in interfaceElementsLocal
- Returns:
- this instance
-
close
public void close()Description copied from interface:ElementsLocal
Closes thisElementsLocal
.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceElementsLocal
-
getRootElementRegistry
Description copied from interface:ElementsLocal
Gets the rootElementRegistry
used by the local runner.- Specified by:
getRootElementRegistry
in interfaceElementsLocal
- Returns:
- the
ElementRegistry
-
setRootElementRegistry
@Inject public void setRootElementRegistry(@Named("dev.getelements.elements.sdk.element.registry.root") MutableElementRegistry rootElementRegistry) -
getElementsWebServices
-
setElementsWebServices
-