Class AppLoader

java.lang.Object
com.tccc.kos.core.service.app.AppLoader

public class AppLoader extends Object
Class responsible for loading an application from the filesystem.
Since:
1.0
Version:
2023-01-03
  • Constructor Details

    • AppLoader

      public AppLoader()
  • Method Details

    • getAppId

      public String getAppId()
      Returns the appId from the descriptor.
    • getApp

      public Application<?> getApp()
      Returns the application that this loader loaded.
    • start

      public void start()
      Start the application. When the AppLoader is returned from AppService the application class has already been created and loaded via the Aplication.load() callback. When start() is called, the application is configured and autowired before calling Application.start() which notifies the application that it is fully configured and can continue the start process.
    • getManifestService

      public ManifestService getManifestService()
    • getClassLoader

      public ClassLoader getClassLoader()
    • isStarted

      public boolean isStarted()
    • isStopped

      public boolean isStopped()
    • setKab

      public void setKab(KabFile kab)
    • getKab

      public KabFile getKab()
    • setSection

      public void setSection(ResolvedManifestSection section)
    • getSection

      public ResolvedManifestSection getSection()