开发者

In AppEngine for Java, how do you get the name of the instance: e.g. instance.appspot.com

开发者 https://www.devze.com 2023-01-29 09:03 出处:网络
I want to get what the nam开发者_C百科e of my instance is from within the app. THANKSIt looks like you can use SystemProperty.applicationId.get(), see here:

I want to get what the nam开发者_C百科e of my instance is from within the app.

THANKS


It looks like you can use SystemProperty.applicationId.get(), see here:

http://code.google.com/appengine/docs/java/runtime.html#The_Environment

http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/utils/SystemProperty.html

0

精彩评论

暂无评论...
验证码 换一张
取 消