Interface ApplicationElementService
- All Known Implementing Classes:
StandardApplicationElementService
public interface ApplicationElementService
Manages the loaded
Element
instances.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
A record which holds the registry records for a particular application. -
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.
-
Method Details
-
getElementRegistry
Gets theElementRegistry
for theApplication
, loading it if it has not previously been loaded.- Parameters:
application
- theApplication
- Returns:
- the
ElementRegistry
-
getOrLoadApplication
Loads allElement
s defined by theApplication
's code registry. If theApplication
has already loaded then this returns the existing collection.- Parameters:
application
- theApplication
- Returns:
- an
ElementRegistry
-