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.Return the application directory.getAppId()
Returns the appId from the descriptor.getKab()
Return the kab the application was loaded from.Return the section the application was loaded from.Return the name of the section the app was loaded from.boolean
boolean
boolean
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. -
getAppDir
Return the application directory. -
getSectionName
Return the name of the section the app was loaded from. -
getKab
Return the kab the application was loaded from. -
getSection
Return the section the application was loaded from. -
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
-
isStarted
public boolean isStarted() -
isPostStarted
public boolean isPostStarted() -
isStopped
public boolean isStopped() -
getUrlPrefix
-
getBrokerPrefix
-
getLocalization
-