mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 06:44:51 +02:00
Add extensible custom logic to domain application create flow
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=140656367
This commit is contained in:
parent
99c16dc345
commit
f8b4c9eddb
4 changed files with 268 additions and 4 deletions
|
@ -23,6 +23,12 @@ import google.registry.model.eppinput.EppInput;
|
|||
@Module
|
||||
public class CustomLogicModule {
|
||||
|
||||
@Provides
|
||||
static DomainApplicationCreateFlowCustomLogic provideDomainApplicationCreateFlowCustomLogic(
|
||||
CustomLogicFactory factory, EppInput eppInput, SessionMetadata sessionMetadata) {
|
||||
return factory.forDomainApplicationCreateFlow(eppInput, sessionMetadata);
|
||||
}
|
||||
|
||||
@Provides
|
||||
static DomainCreateFlowCustomLogic provideDomainCreateFlowCustomLogic(
|
||||
CustomLogicFactory factory, EppInput eppInput, SessionMetadata sessionMetadata) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue