mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Add a custom logic framework to provide pluggable extensibility
To add additional logic for flow code, write custom classes that extend the existing custom logic classes (of which DomainCreateFlowCustomLogic is the first provided example), along with a class that extends CustomLogicFactory to provide instances of the new custom logic classes. Then configure the fully qualified class name of your new custom logic factory in ConfigModule.provideCustomLogicFactoryClass(). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=139221577
This commit is contained in:
parent
3942f0768b
commit
4d2e0941f3
15 changed files with 435 additions and 17 deletions
|
@ -17,6 +17,7 @@ package google.registry.module.frontend;
|
|||
import dagger.Component;
|
||||
import google.registry.braintree.BraintreeModule;
|
||||
import google.registry.config.ConfigModule;
|
||||
import google.registry.flows.custom.CustomLogicFactoryModule;
|
||||
import google.registry.keyring.api.DummyKeyringModule;
|
||||
import google.registry.keyring.api.KeyModule;
|
||||
import google.registry.module.frontend.FrontendRequestComponent.FrontendRequestComponentModule;
|
||||
|
@ -40,6 +41,7 @@ import javax.inject.Singleton;
|
|||
BraintreeModule.class,
|
||||
ConfigModule.class,
|
||||
ConsoleConfigModule.class,
|
||||
CustomLogicFactoryModule.class,
|
||||
DummyKeyringModule.class,
|
||||
FrontendMetricsModule.class,
|
||||
FrontendRequestComponentModule.class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue