public synchronized void addCommandLineListener(CommandLineListener listener){
		
		List<CommandLineListener> listeners = new ArrayList<CommandLineListener>();
		if (this.listeners != null){
			listeners.addAll(this.listeners);
		}
		if (!listeners.contains(listener)){
			listeners.add(listener);
		}
		this.listeners = listeners;
		
	}