Package com.tccc.kos.core.service.app
Class AppLoader
java.lang.Object
com.tccc.kos.core.service.app.AppLoader
Class responsible for loading an application from the filesystem.
- Since:
- 1.0
- Version:
- 2023-01-03
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApplication<?>
getApp()
Returns the application that this loader loaded.getAppId()
Returns the appId from the descriptor.getKab()
boolean
boolean
void
void
setSection
(ResolvedManifestSection section) void
start()
Start the application.
-
Constructor Details
-
AppLoader
public AppLoader()
-
-
Method Details
-
getAppId
Returns the appId from the descriptor. -
getApp
Returns the application that this loader loaded. -
start
public void start()Start the application. When theAppLoader
is returned fromAppService
the application class has already been created and loaded via theAplication.load()
callback. Whenstart()
is called, the application is configured and autowired before callingApplication.start()
which notifies the application that it is fully configured and can continue the start process. -
getManifestService
-
getClassLoader
-
isStarted
public boolean isStarted() -
isStopped
public boolean isStopped() -
setKab
-
getKab
-
setSection
-
getSection
-