Names

The named() element explicitly specifies the domain service’s name, overriding the name that would normally be inferred from the Java source code.

For example:

@DomainService
@DomainServiceLayout(
    named="Customers"
)
public class CustomerRepository {
   ...
}