开发者

Can i access modifed properties mulltiple jvms?

I have defined the properties using System.setProperty("","") .This pr开发者_Python百科operties can access other JVMs also.Those properties where did stored in JVM?.


A system property is kept in memory, in the JVM executing the program where System.setProperty is called. JVM A won't see the value of a property set in JVM B. If you want to make JVM A aware of a property change in JVM B, then you need to make the two JVMs communicate with each other.

Knowing what you want to do with these system properties and these multiple JVMs might help giving you a better answer.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜