public class StartupContext
extends java.lang.Object
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.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
STARTUP_MODULE_NAME |
static java.lang.String |
STARTUP_MODULESTARTUP_NAME |
static java.lang.String |
TIME_ZERO_NAME |
| Constructor and Description |
|---|
StartupContext() |
StartupContext(java.util.Properties args) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Properties |
getArguments()
Return the properties that constitues this context.
|
long |
getCreationTime()
Returns the time at which this StartupContext instance was created.
|
java.lang.String |
getPlatformMainServiceName() |
java.lang.String |
getStartupModuleName() |
public static final java.lang.String TIME_ZERO_NAME
public static final java.lang.String STARTUP_MODULE_NAME
public static final java.lang.String STARTUP_MODULESTARTUP_NAME
public StartupContext()
public StartupContext(java.util.Properties args)
public java.util.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 java.lang.String getStartupModuleName()
public java.lang.String getPlatformMainServiceName()
public long getCreationTime()
Copyright © 2013 Oracle Corporation. All Rights Reserved.