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 theElementRegistry
for theApplication
, loading it if it has not previously been loaded.getOrLoadApplication
(Application application) Loads allElement
s defined by theApplication
's code registry.void
setClassLoaderConstructor
(ElementLoaderFactory.ClassLoaderConstructor classLoaderConstructor) void
setLocalElements
(List<ElementsLocalApplicationElementRecord> localElements) void
setRootElementRegistry
(ElementRegistry rootElementRegistry) void
setStandardApplicationElementService
(StandardApplicationElementService standardApplicationElementService)
-
Constructor Details
-
LocalApplicationElementService
public LocalApplicationElementService()
-
-
Method Details
-
getElementRegistry
Description copied from interface:ApplicationElementService
Gets theElementRegistry
for theApplication
, loading it if it has not previously been loaded.- Specified by:
getElementRegistry
in interfaceApplicationElementService
- Parameters:
application
- theApplication
- Returns:
- the
ElementRegistry
-
getOrLoadApplication
public ApplicationElementService.ApplicationElementRecord getOrLoadApplication(Application application) Description copied from interface:ApplicationElementService
Loads allElement
s defined by theApplication
's code registry. If theApplication
has already loaded then this returns the existing collection.- Specified by:
getOrLoadApplication
in 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)
-