Package org.citrusframework
Interface CitrusContextProvider
- All Known Implementing Classes:
DefaultCitrusContextProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.slf4j.LoggerLoggerstatic final StringEndpoint parser resource lookup pathstatic final Stringstatic final ResourcePathTypeResolverDefault Citrus context provider from classpath resource properties -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create Citrus context with this provider.static CitrusContextProviderlookup()Resolves context provider from resource path lookup.static Optional<CitrusContextProvider>Resolves context provider from resource path lookup with given resource name.
-
Field Details
-
logger
static final org.slf4j.Logger loggerLogger -
RESOURCE_PATH
Endpoint parser resource lookup path- See Also:
-
TYPE_RESOLVER
Default Citrus context provider from classpath resource properties -
SPRING
- See Also:
-
-
Method Details
-
create
CitrusContext create()Create Citrus context with this provider.- Returns:
-
lookup
Resolves context provider from resource path lookup. Scans classpath for provider meta information and instantiates first found or default fallback provider.- Returns:
-
lookup
Resolves context provider from resource path lookup with given resource name. Scans classpath for provider meta information with given name and returns the instance. Returns optional instead of throwing exception when no context provider could be found.- Parameters:
name-- Returns:
-