static void printLicenseUsage(LicenseUsageInfo ui) { System.out.println("The list of feature reservations:"); LicenseReservationInfo[] ris = ui.getReservationInfo(); for(int i=0; ris!=null && i< ris.length; i++) { System.out.println("Feature key :" + ris[i].getKey()); System.out.println("Required license:" + ris[i].getRequired()); System.out.println("State:" + ris[i].getState()); } System.out.println("All the features that are referenced" + " in reservation:"); printLicenseFeatures(ui.getFeatureInfo()); System.out.println("License source:"); printLicenseSource(ui.getSource()); System.out.println("License source available:" + ui.isSourceAvailable()); }
LicenseUsageInfo queryLicenseUsage(HostSystem host) throws RuntimeFault, RemoteException;