Package org.apache.camel.spi
Interface ResourceResolver
- All Superinterfaces:
AutoCloseable
,CamelContextAware
,HasCamelContext
,Service
,StaticService
SPI for loading resources.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Service factory base path for scheme specific resolver. -
Method Summary
Methods inherited from interface org.apache.camel.CamelContextAware
setCamelContext
Methods inherited from interface org.apache.camel.spi.HasCamelContext
getCamelContext
-
Field Details
-
FACTORY_PATH
Service factory base path for scheme specific resolver.- See Also:
-
-
Method Details
-
getSupportedScheme
String getSupportedScheme()The supported resource scheme. Implementations should support a single scheme only. -
resolve
Resolve aResource
from a give uri.- Parameters:
location
- the location of the resource to resolve.- Returns:
- an
Resource
, null if was not possible to resolve the resource.
-