The PayloadSchemaRegistry
, which is configured using the payloadSchema.xml
file, parses definition files into configuration beans. Once the definition file has been parsed, the PayloadSchemaRegistry
resolves Nucleus components.
The following are a few of the PayloadSchemaRegistry
properties:
simpleClassToValidatorClass
– If no validator is specified, the registry uses a map from a simple class to the corresponding validator.containerClassToValidatorClass
– If no validator is specified, the registry uses a map from a container class to a corresponding validator.validatorClassPrefixes
– An array of prefixes to search when a validator class is specified without a package name. Prefixes are tried in order, and the first two prefixes areatg.service.validator
andatg.service.validator.Validators$.
For additional information on PayloadSchemaRegistry
properties, refer to the ATG Platform API Reference.