Configure a drg instance with spring