|
||||||||
GAE: Runtime Environment (featuring Java)
Java
Getting System Information in codeAn app can ask for information about the current environment using the SystemProperty API, in the com.google.appengine.api.utils package. App Engine sets static fields of this class to the application ID (applicationId), the application version (applicationVersion), the version of the runtime environment (version), and whether the app is running in the development environment or on App Engine (environment). import com.google.appengine.api.utils.SystemProperty; // ...get Application ID String applicationId = SystemProperty.applicationId.get();
|
||||||||
© Lynne Grewe |