예제 #1
0
 @Override
 protected ServerMetaDataHolder createServerMetaDataHolder() {
   List<String> vmArgs = RuntimeMXBeanUtils.getVmArgs();
   return new ResettableServerMetaDataHolder(vmArgs);
 }
예제 #2
0
 protected ServerMetaDataHolder createServerMetaDataHolder() {
   List<String> vmArgs = RuntimeMXBeanUtils.getVmArgs();
   ServerMetaDataHolder serverMetaDataHolder = new DefaultServerMetaDataHolder(vmArgs);
   return serverMetaDataHolder;
 }