String[] clazzes = (String[]) serviceReg.getReference().getProperty(Constants.OBJECTCLASS);
String[] clazzes = ((ServiceRegistrationImpl) serviceReg).clazzes;
	public void unpublishService(BundleContext context, ServiceRegistration serviceReg) {		// Remove the ServiceRegistration from the list of Services published by BundleContext.		ArrayList contextServices = (ArrayList) publishedServicesByContext.get(context);		if (contextServices != null) {			contextServices.remove(serviceReg);		}		// Remove the ServiceRegistration from the list of Services published by Class Name.		String[] clazzes = (String[]) serviceReg.getReference().getProperty(Constants.OBJECTCLASS);		int size = clazzes.length;		for (int i = 0; i < size; i++) {			String clazz = clazzes[i];			ArrayList services = (ArrayList) publishedServicesByClass.get(clazz);			services.remove(serviceReg);		}		// Remove the ServiceRegistration from the list of all published Services.		allPublishedServices.remove(serviceReg);	}