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