Interface MappingResourceHolder
- All Known Implementing Classes:
CustomMappings
public interface MappingResourceHolder
Interface that isolates methods for registering
resources
for a
mapping service
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMappingResource
(Resource resource) Collection<? extends Resource>
void
setMappingResource
(Resource resource) Registers a mapping resource.void
setMappingResources
(Collection<? extends Resource> resources) Registers a collection of mapping resources
-
Method Details
-
setMappingResource
Registers a mapping resource.- Parameters:
resource
- mapping resource
-
setMappingResources
Registers a collection of mapping resources- Parameters:
resources
- mapping resources
-
addMappingResource
-
getMappingResources
Collection<? extends Resource> getMappingResources()- Returns:
- immutable registered mapping resources
-