Class LocalApplicationElementService
java.lang.Object
dev.getelements.elements.sdk.local.internal.LocalApplicationElementService
- All Implemented Interfaces:
ApplicationElementService
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.getelements.elements.common.app.ApplicationElementService
ApplicationElementService.ApplicationElementRecord -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetElementRegistry(Application application) Gets theElementRegistryfor theApplication, loading it if it has not previously been loaded.getOrLoadApplication(Application application) Loads allElements defined by theApplication's code registry.voidsetClassLoaderConstructor(ElementLoaderFactory.ClassLoaderConstructor classLoaderConstructor) voidsetLocalElements(List<ElementsLocalApplicationElementRecord> localElements) voidsetRootElementRegistry(ElementRegistry rootElementRegistry) voidsetStandardApplicationElementService(StandardApplicationElementService standardApplicationElementService)
-
Constructor Details
-
LocalApplicationElementService
public LocalApplicationElementService()
-
-
Method Details
-
getElementRegistry
Description copied from interface:ApplicationElementServiceGets theElementRegistryfor theApplication, loading it if it has not previously been loaded.- Specified by:
getElementRegistryin interfaceApplicationElementService- Parameters:
application- theApplication- Returns:
- the
ElementRegistry
-
getOrLoadApplication
public ApplicationElementService.ApplicationElementRecord getOrLoadApplication(Application application) Description copied from interface:ApplicationElementServiceLoads allElements defined by theApplication's code registry. If theApplicationhas already loaded then this returns the existing collection.- Specified by:
getOrLoadApplicationin interfaceApplicationElementService- Parameters:
application- theApplication- Returns:
- an
ElementRegistry
-
getLocalElements
-
setLocalElements
-
getRootElementRegistry
-
setRootElementRegistry
@Inject public void setRootElementRegistry(@Named("dev.getelements.elements.sdk.element.registry.root") ElementRegistry rootElementRegistry) -
getClassLoaderConstructor
-
setClassLoaderConstructor
@Inject public void setClassLoaderConstructor(ElementLoaderFactory.ClassLoaderConstructor classLoaderConstructor) -
getStandardApplicationElementService
-
setStandardApplicationElementService
@Inject public void setStandardApplicationElementService(StandardApplicationElementService standardApplicationElementService)
-