public void registerBlueprint ( Class clazz ) throws RegisterBlueprintException { Object blueprint = null ; try { blueprint = clazz . newInstance ( ) ; } catch ( InstantiationException e ) { throw new RegisterBlueprintException ( e ) ; } catch ( IllegalAccessException e ) { throw new RegisterBlueprintException ( e ) ; } registerBlueprint ( blueprint ) ; }
Register a Blueprint from Class