New bean context factory.