我已经按照https://community.jboss.org/message/750465完成了我的配置,我需要从properties-service.xml加载一个密钥,它的属性如下。
<attribute name="Properties">
project.userName=xxxxx
project.userType=xxxxx
project.userToken=xxxx我的代码访问这些属性如下:属性globalSystemProperties = System.getProperties();枚举键=(枚举) globalSystemProperties.propertyNames();
我在迭代时没有看到我的密钥列表,原因是什么?
发布于 2014-06-04 05:44:32
https://stackoverflow.com/questions/24008516
复制相似问题