Receipe for bean creation and registration during context initialization.