public interface Application
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_KEY
Key for the application object in the argument map passed to
the init method of Dc and Pc interfaces.
|
Modifier and Type | Method and Description |
---|---|
void |
doStart(String[] pArgs)
Called to start an application.
|
void |
doStop()
Called to stop an application.
|
Map<String,? super Object> |
getAppModel()
Returns the models of the applicaton.
|
Properties |
getProperties()
Get all properties of the application.
|
String |
getProperty(String pKey,
String pDefault)
Get a user property of the application, always returns
a non-null string if pDefault is not null.
|
void |
setProperty(String pKey,
String pValue)
Set a user property.
|
static final String APPLICATION_KEY
void doStart(String[] pArgs)
pArgs
- the arguments of the static main entry point.void doStop()
String getProperty(String pKey, String pDefault)
pKey
- key of the user propertypDefault
- default that should be used if the key is not knownvoid setProperty(String pKey, String pValue)
pKey
- key of the user propertypValue
- value of the user propertyProperties getProperties()
Copyright © 2017 Jürgen Zeller (privat). All rights reserved.