public interface ModuleResolver
Resource
that provides access to a module
uber-jar based on its Maven coordinates.Modifier and Type | Method and Description |
---|---|
org.springframework.core.io.Resource |
resolve(Coordinates coordinates)
Retrieve a resource given its coordinates.
|
org.springframework.core.io.Resource[] |
resolve(Coordinates root,
Coordinates[] includes,
String[] excludePatterns)
Retrieve a set of resources given their coordinates, along with additional dependencies.
|
org.springframework.core.io.Resource resolve(Coordinates coordinates)
coordinates
- the coordinates of a resourceorg.springframework.core.io.Resource[] resolve(Coordinates root, Coordinates[] includes, String[] excludePatterns)
PatternExclusionsDependencyFilter
can be provided as well.root
- the coordinates of the main resourceincludes
- a list of coordinates to include along the main resourceexcludePatterns
- a list of exclusion patternsPatternExclusionsDependencyFilter
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.