Use the new ServiceRegistry interface Creates a new EurekaRegistration object that aggregates classes needed for a single registration.