/** * This method returns the offering information. * * @return The reference to the offerings. * @throws com.rift.coad.catalog.client.offering.OfferingException */ public CatalogOffering[] getOfferings() throws OfferingException { try { CatalogManagerDaemon daemon = (CatalogManagerDaemon) ConnectionManager.getInstance() .getConnection(CatalogManagerDaemon.class, "catalog/CatalogManagerDaemon"); return (CatalogOffering[]) RDFCopy.copyToClientArray(daemon.getCatalogOfferings()); } catch (Exception ex) { log.error("Failed to list the offerings : " + ex.getMessage(), ex); throw new OfferingException("Failed to list the offerings : " + ex.getMessage()); } }