Class CustomLogicFactory

java.lang.Object
google.registry.flows.custom.CustomLogicFactory

public class CustomLogicFactory extends Object
A no-op base custom logic factory.

To add custom logic, extend this class, then configure it in RegistryConfig.ConfigModule.provideCustomLogicFactoryClass(google.registry.config.RegistryConfigSettings). The eppInput and sessionMetadata parameters are unused in the base implementation, but are provided so that custom implementations can optionally determine how to construct/choose which custom logic class to return. A common use case might be parsing TLD for domain-specific flows from the EppInput and then using that to choose a different custom logic implementation, or switching based on the registrar clientId in sessionMetadata.