public class StartupContext extends Object
org.jvnet.hk2.component.Habitat
,
so Populator
s 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.Modifier and Type | Field and Description |
---|---|
static String |
STARTUP_MODULE_NAME |
static String |
STARTUP_MODULESTARTUP_NAME |
static String |
TIME_ZERO_NAME |
Constructor and Description |
---|
StartupContext() |
StartupContext(Properties args) |
Modifier and Type | Method and Description |
---|---|
Properties |
getArguments()
Return the properties that constitues this context.
|
long |
getCreationTime()
Returns the time at which this StartupContext instance was created.
|
String |
getPlatformMainServiceName() |
String |
getStartupModuleName() |
public static final String TIME_ZERO_NAME
public static final String STARTUP_MODULE_NAME
public static final String STARTUP_MODULESTARTUP_NAME
public StartupContext()
public StartupContext(Properties args)
public Properties getArguments()
TIME_ZERO_NAME
, STARTUP_MODULE_NAME
, STARTUP_MODULESTARTUP_NAME
,
this class does not know about any other properties. It is up to the user set them and get them.public String getStartupModuleName()
public String getPlatformMainServiceName()
public long getCreationTime()
Copyright © 2009–2023 Oracle Corporation. All rights reserved.