Esempio n. 1
0
  /**
   * Construct.
   *
   * @param location The key identifying the client window to which this courier delivers updates.
   * @param elementId The key identifying the element on the Portal Page that would need a courier
   *     delivered message when things change.
   */
  public ObservingCourier(String location, String elementId) {
    m_deliveryId = SessionManager.getCurrentSession().getId() + location;
    m_elementId = elementId;
    m_location = location;

    // "inject" a CourierService
    m_courierService = org.sakaiproject.courier.cover.CourierService.getInstance();
  }