Package io.jmix.restds.util
Interface RemoteServiceConfigurationCustomizer
public interface RemoteServiceConfigurationCustomizer
Interface for customizing the configuration of services available through the REST DataStore.
Should be implemented by beans in add-ons and applications.
The implementation can have the Order annotation
with a JmixOrder value.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classService parameters: data store name and remote service name. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.type.filter.TypeFilterReturns a filter to include certain classes when searching for remote service interfaces.getServiceParameters(Class<?> serviceInterface) Returns the service parameters for the given remote service.
-
Method Details
-
getScannerIncludeFilter
@Nullable org.springframework.core.type.filter.TypeFilter getScannerIncludeFilter()Returns a filter to include certain classes when searching for remote service interfaces.- Returns:
- a filter or null for no additional filtering
-
getServiceParameters
@Nullable RemoteServiceConfigurationCustomizer.ServiceParameters getServiceParameters(Class<?> serviceInterface) Returns the service parameters for the given remote service.- Parameters:
serviceInterface- remote service interface- Returns:
- service parameters or null to skip customization
-