This section describes how to add custom exception messages in the UI.
Overview
In general, services in Atoti Sign-Off can be extended by:
Defining a Spring Bean that implements the interface represented by the service.
If the default implementation is not defined with a @ConditionalOnMissingBean annotation, you will need to mark the bean as @Primary.
Please raise a Jira ticket in these instances in order for us to mark the bean conditional.
Importing the bean into your project.
Importing Spring Beans into the Project
Customizations that override an existing default implementation usually require importing your custom Spring Bean. The SignOffAppConfig
class is the main entry-point in Atoti Sign-Off for imports, so if you need to import your MyCustomBean class, you should do so here. For example:
@Configuration@Import({// Default imports start ...
// ...
// ... default imports end
// Custom imports
MyCustomBean.class})publicclassSignOffAppConfig{// other code...
}