Package org.apache.camel.spi
Interface ResourceResolver
-
- All Superinterfaces:
AutoCloseable
,CamelContextAware
,Service
,StaticService
public interface ResourceResolver extends StaticService, CamelContextAware
SPI for loading resources.
-
-
Field Summary
Fields Modifier and Type Field Description static String
FACTORY_PATH
Service factory base path for scheme specific resolver.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getSupportedScheme()
The supported resource scheme.Resource
resolve(String location)
Resolve aResource
from a give uri.-
Methods inherited from interface org.apache.camel.CamelContextAware
getCamelContext, setCamelContext
-
-
-
-
Field Detail
-
FACTORY_PATH
static final String FACTORY_PATH
Service factory base path for scheme specific resolver.- See Also:
- Constant Field Values
-
-
Method Detail
-
getSupportedScheme
String getSupportedScheme()
The supported resource scheme. Implementations should support a single scheme only.
-
-