@Override
    public void run()
      {
        System.out.println("Lanzado proceso");
        //recoger el parametro de la configuracion
        WebResource webResource = this.client.resource(this.webservice);
        MultivaluedMapImpl values = new MultivaluedMapImpl();
        //Pasarle un atributo para hacerlo más generico
        values.add("priority", this.priority);
        //cambiar para que coja el tiempo del sisteam
        values.add("time", "1404636569638");
        ClientResponse response = webResource.type(MediaType.APPLICATION_FORM_URLENCODED).post(ClientResponse.class, values);
        if (response.getStatus() != 200)
          {
            throw new RuntimeException("Failed : HTTP error code : "
                    + response.getStatus());
          } else
          {

            GenericType<List<AlarmContainer>> AlarmListType = new GenericType<List<AlarmContainer>>()
            {
            };

            List<AlarmContainer> list = response.getEntity(AlarmListType);

            //prueba aqui pasariamos el contenedor de alarmas a la fachada
            
              System.out.println("LIST SIZE "+list.size());
            
            for (AlarmContainer s : list)
              {

                System.out.println("id: " + s.getId());

                if (s.getValue().getMail() != null)
                  {
                    try {
                        System.out.println("TextoMailSIZE--->" + s.getValue().getMail().size());
                        
                        MessageComposer cop = new MessageComposer();
                        cop.getMailNotifications(s.getValue().getMail(), s.getId());
                      } catch (ExecutionException ex) {
                        Logger.getLogger(DeadLineAlarmBehaviour.class.getName()).log(Level.SEVERE, null, ex);
                      }
                    
                    
                    
                  }else{System.out.println("Mail Nul");}
                if (s.getValue().getTwitter() != null)
                  {
                    try {
                        MessageComposer cop = new MessageComposer();
                        cop.getTwitterNotifications(s.getValue().getTwitter(), s.getId());
                        System.out.println("textoTwitter" + s.getValue().getTwitter().size());
                      } catch (ExecutionException ex) {
                        Logger.getLogger(DeadLineAlarmBehaviour.class.getName()).log(Level.SEVERE, null, ex);
                      }

                  }else{System.out.println("Twitter Nul");}

              }

          }
      }