public synchronized void register(String id, String location )
	{
		if(properties == null)
			setUp();
		try
		{
			properties.put(id, location);
			

			IO.writeProperties(propertyFilePath, properties);
		}
		catch(NullPointerException e)
		{
			throw new SetupException(e);
		}
		catch (IOException e)
		{
			throw new SetupException("Cannot write to property:\""+propertyFilePath+"\" ERROR: "+e.getMessage(),e);
		}
			
				
	}
public synchronized void register ( String id , String location ) { if ( properties == null ) setUp ( ) ; try { properties . put ( id , location ) ; IO . writeProperties ( propertyFilePath , properties ) ; } catch ( NullPointerException e ) { throw new SetupException ( e ) ; } catch ( IOException e ) { throw new SetupException ( "Cannot write to property:\"" + propertyFilePath + "\" ERROR: " + e . getMessage ( ) , e ) ; } }
@param id the ID
@param location abstraction of the location to register