properties.setProperty(Constants.OBJECTCLASS, null);  properties.setProperty(Constants.OBJECTCLASS, clazzes);  properties.setProperty(Constants.SERVICE_ID, null);  properties.setProperty(Constants.SERVICE_ID, new Long(serviceid));
properties.set(Constants.OBJECTCLASS, clazzes, true); properties.set(Constants.SERVICE_ID, new Long(serviceid), true);
	protected Properties createProperties(Dictionary props) {		Properties properties = new Properties(props);		properties.setProperty(Constants.OBJECTCLASS, null); /* remove user provided key if any */		properties.setProperty(Constants.OBJECTCLASS, clazzes);		properties.setProperty(Constants.SERVICE_ID, null); /* remove user provided key if any */		properties.setProperty(Constants.SERVICE_ID, new Long(serviceid));		Object ranking = properties.getProperty(Constants.SERVICE_RANKING);		serviceranking = (ranking instanceof Integer) ? ((Integer) ranking).intValue() : 0;		return (properties);	}