简体   繁体   中英

System.getProperty Change Listener

有什么方法可以检查System.getProperty(...)值是否已更改?

I strongly doubt that there is a general way since AFAIK a lot of the properties are provided by the OS and code is integrated into the VM. I mean, you could just check periodically but I'm pretty sure you've ruled that out already.

What properties exactly do you want to know about?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM