コード例 #1
0
 @Override
 public ConfigurationDefinition getConfigurationDefinitionForSender(String sender)
     throws RuntimeException {
   try {
     ConfigurationDefinition results =
         alertNotifManager.getConfigurationDefinitionForSender(sender);
     return SerialUtility.prepare(results, "getConfigurationDefinitionForSender");
   } catch (Throwable t) {
     throw getExceptionToThrowToClient(t);
   }
 }
コード例 #2
0
 @Override
 public String[] getAllAlertSenders() throws RuntimeException {
   try {
     List<String> results = alertNotifManager.listAllAlertSenders();
     if (results == null) {
       return null;
     }
     return SerialUtility.prepare(
         results.toArray(new String[results.size()]), "getAllAlertSenders");
   } catch (Throwable t) {
     throw getExceptionToThrowToClient(t);
   }
 }