[英]ResourceBundle.getBundle and Websphere
I have some code like this: 我有一些这样的代码:
resourceBundle = ResourceBundle.getBundle(
"com.something.whatever.txt", getLocale());
This code is part of an app which is run by websphere. 此代码是由Websphere运行的应用程序的一部分。
com.something.whatever.properties
is a text file which is then jarred and deployed. com.something.whatever.properties
是一个文本文件,然后将其com.something.whatever.properties
并部署。
The question is: Can I easily override it ? 问题是:我可以轻松地覆盖它吗? somehow redeploy just this file rather than the whole app ? 以某种方式重新部署此文件而不是整个应用程序?
是的,可以。但是我强烈建议您在尝试之前重新启动应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.