mirror of
https://github.com/google/nomulus
synced 2026-07-20 06:52:27 +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:
@@ -29,6 +29,8 @@ import google.registry.model.poll.PollMessage;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
/**
|
||||
* An EPP flow for requesting poll messages.
|
||||
*
|
||||
@@ -36,6 +38,8 @@ import java.util.List;
|
||||
*/
|
||||
public class PollRequestFlow extends PollFlow {
|
||||
|
||||
@Inject PollRequestFlow() {}
|
||||
|
||||
@Override
|
||||
public final EppOutput run() throws EppException {
|
||||
if (command.getMessageId() != null) {
|
||||
|
||||
Reference in New Issue
Block a user