Object[] constructorParameters = {myActiveModule.getModuleName() + idlActuatorName, new Integer(0)};
Object[] constructorParameters = {new Integer(0), myActiveModule.getModuleName() + idlActuatorName};
    public void addActuator() {        Class[] constructorParameterTypes = {int.class, String.class};        Constructor actuatorConstructor = null;        try {            actuatorConstructor = myActuatorClass.getConstructor(constructorParameterTypes);        } catch (SecurityException e) {            e.printStackTrace();            return;        } catch (NoSuchMethodException e) {            e.printStackTrace();            return;        }        String actuatorClassString = myActuatorClass.getName();        String idlActuatorName = actuatorClassString.substring(0, actuatorClassString.indexOf("Impl"));        Object[] constructorParameters = {myActiveModule.getModuleName() + idlActuatorName, new Integer(0)};        try {            myActuatorImpl = (GenericActuatorImpl)(actuatorConstructor.newInstance(constructorParameters));        } catch (IllegalArgumentException e1) {            e1.printStackTrace();        } catch (InstantiationException e1) {            e1.printStackTrace();        } catch (IllegalAccessException e1) {            e1.printStackTrace();        } catch (InvocationTargetException e1) {            e1.printStackTrace();        }    }