|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HostInfo
Interface that provides information on the host environment. This allows the runtime to access information about the environment in which it is running. The implementation of this interface is provided to the runtime by the host during initialization. Hosts will generally extend this interface to provide additional information.
| Field Summary | |
|---|---|
static java.lang.String |
HOST_CONFIG_DIR
|
| Method Summary | |
|---|---|
void |
addProperty(java.lang.String name,
java.lang.String value)
Adds a new property. |
java.net.URI |
getDomain()
Returns the SCA domain associated with this runtime. |
java.lang.String |
getProperty(java.lang.String name,
java.lang.String defaultValue)
Return the value of the named property. |
| Field Detail |
|---|
static final java.lang.String HOST_CONFIG_DIR
| Method Detail |
|---|
java.net.URI getDomain()
void addProperty(java.lang.String name,
java.lang.String value)
name - the name of the propertyvalue - the value of the property
java.lang.String getProperty(java.lang.String name,
java.lang.String defaultValue)
name - the name of the propertydefaultValue - default value to return if the property is not defined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||