public <T, P1> T getPrototypeBean(final ConstructorWithBeansAnd1Parameter<T, P1> creator,
            final P1 param1) {
        final PrototypeProvider provider = new PrototypeProvider(name, beans -> creator.create(beans, param1));
        return provider.getBean(this, dryRun);
    }
public < T , P1 > T getPrototypeBean ( final ConstructorWithBeansAnd1Parameter < T , P1 > creator , final P1 param1 ) { final PrototypeProvider provider = new PrototypeProvider ( name , beans -> creator . create ( beans , param1 ) ) ; return provider . getBean ( this , dryRun ) ; }
Returns a new {@code prototype} Bean, created by the given Function. It is possible to pass Parameter
to the Constructor of the Bean, and determine Dependencies with the {@link BeanAccessor}. The Method
{@link PostConstructible#onPostConstruct(BeanRepository)} is executed for every Call of this Method, if
the Interface is implemented.

@param creator    The Code to create the new Object
@param param1     The 1st Parameter
@param <T>        The Type of the Bean
@param <P1>       The Type of the 1st Parameter
@see BeanAccessor
@see PostConstructible
@return a new created Object