public void setRegisterBlueprints ( Collection blueprints ) throws RegisterBlueprintException { for ( Object blueprint : blueprints ) { if ( blueprint instanceof Class ) { registerBlueprint ( ( Class ) blueprint ) ; } else if ( blueprint instanceof String ) { registerBlueprint ( ( String ) blueprint ) ; } else if ( blueprint instanceof String ) { registerBlueprint ( blueprint ) ; } else { throw new RegisterBlueprintException ( "Only supports List comprised of Class<Blueprint>, Blueprint, or String className" ) ; } } }
Register a List of Blueprint Class or String class names of Blueprint