public static Object createInstanceAccordingToParameter ( String parameterName , Class < ? > [ ] argClasses , Object [ ] args , Map < String , String > parameters ) throws JournalException { String className = parameters . get ( parameterName ) ; if ( className == null ) { throw new JournalException ( "No parameter '" + parameterName + "'" ) ; } return createInstanceFromClassname ( className , argClasses , args ) ; }
Look in the system parameters and create an instance of the named class .