コード例 #1
0
 public Integer getPort() {
   List ports = _instance.getConfiguration().getPorts();
   if (ports.size() > 0) {
     return Integer.valueOf(ports.get(0).toString());
   } else {
     return 0;
   }
 }
コード例 #2
0
 public String getDataDirectory() {
   return _instance.getConfiguration().getQpidWork();
 }
コード例 #3
0
 public Integer getWorkerThreads() {
   return _instance.getConfiguration().getProcessors();
 }