Interface ElementsLocal
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
StandardElementsLocal
Runs a local instance of Elements suitable for debugging.
-
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.start()
Starts thisElementsLocal
.
-
Method Details
-
start
ElementsLocal start()Starts thisElementsLocal
.- Returns:
- this instance
-
run
ElementsLocal run()Runs the instance and will block until shutdown.- Returns:
- this instance
-
getRootElementRegistry
MutableElementRegistry getRootElementRegistry()Gets the rootElementRegistry
used by the local runner.- Returns:
- the
ElementRegistry
-
close
void close()Closes thisElementsLocal
.- Specified by:
close
in interfaceAutoCloseable
-