开发者

Can i access modifed properties mulltiple jvms?

开发者 https://www.devze.com 2023-03-28 11:29 出处:网络
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 me

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

精彩评论

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