Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing AppEngine Application ID

Application ID in appengine is configured in appengine-web.xml:

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
    <application>myid</application>
    <version>0-0-1</version>
</appengine-web-app>

Can we acces the application id programmatically in Java?

like image 415
JR Galia Avatar asked Feb 19 '23 22:02

JR Galia


1 Answers

From the Runtime Environment documentation you can use SystemProperty.applicationId.get() to get the application ID.

like image 200
Dan Holevoet Avatar answered Feb 26 '23 11:02

Dan Holevoet