public void scanForExtensions(String directory, String fileNameFilter)
	{
		if(registry == null) {
			registry = new HashMap<String, LinkedList<Extension>>();
		}
		
		if(directory == null) {
			directory = ".";
		}
		
		if(DEBUG) System.out.println("current working directory: " +System.getProperty("user.dir"));
		scanDirectory(directory, fileNameFilter);
		if(DEBUG) System.out.println(registry.size() +" extension points with " +entryCounter +" extensions.");
	}