Class StartupContext


  • public class StartupContext
    extends Object
    This class contains important information about the startup process. This is one of the initial objects to be populated in the org.jvnet.hk2.component.Habitat, so Populators can depend on this object. Do not add domain specific knowledge here. Since this takes a properties object in the constructor, such knowledge can be maintained outside this object.
    Author:
    Jerome Dochez, Sanjeeb Sahoo
    • Constructor Detail

      • StartupContext

        public StartupContext()
      • StartupContext

        public StartupContext​(Properties args)
    • Method Detail

      • getStartupModuleName

        public String getStartupModuleName()
      • getPlatformMainServiceName

        public String getPlatformMainServiceName()
      • getCreationTime

        public long getCreationTime()
        Returns the time at which this StartupContext instance was created. This is roughly the time at which the hk2 program started.
        Returns:
        the instanciation time