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