mirror of
https://github.com/google/nomulus
synced 2026-01-11 00:10:36 +00:00
Dagger, meet Flows. Flows, meet Dagger.
Daggerizes all of the EPP flows. This does not change anything yet about the flows themselves, just how they are invoked, but after this CL it's safe to @Inject things into flow classes. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125382478
This commit is contained in:
@@ -18,6 +18,8 @@ import google.registry.flows.ResourceTransferQueryFlow;
|
||||
import google.registry.model.domain.DomainCommand.Transfer;
|
||||
import google.registry.model.domain.DomainResource;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
/**
|
||||
* An EPP flow that queries a pending transfer on a {@link DomainResource}.
|
||||
*
|
||||
@@ -26,4 +28,6 @@ import google.registry.model.domain.DomainResource;
|
||||
* @error {@link google.registry.flows.ResourceTransferQueryFlow.NoTransferHistoryToQueryException}
|
||||
* @error {@link google.registry.flows.ResourceTransferQueryFlow.NotAuthorizedToViewTransferException}
|
||||
*/
|
||||
public class DomainTransferQueryFlow extends ResourceTransferQueryFlow<DomainResource, Transfer> {}
|
||||
public class DomainTransferQueryFlow extends ResourceTransferQueryFlow<DomainResource, Transfer> {
|
||||
@Inject DomainTransferQueryFlow() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user