public ControllerAction(UserPreferences preferences, String actionPrefix,
			boolean enabled, Object controller, String method,
			Object... parameters) throws NoSuchMethodException {
		super(preferences, actionPrefix, enabled);
		this.controller = controller;
		this.parameters = parameters;
		Class<?>[] parametersClass = new Class[parameters.length];
		for (int i = 0; i < parameters.length; i++)
			parametersClass[i] = parameters[i].getClass();

		this.controllerMethod = controller.getClass().getMethod(method,
				parametersClass);
	}