Interface EndpointComponentFactory
public interface EndpointComponentFactory
Provides access to endpoint components loaded through
EndpointRuleSetExtension
s.-
Method Summary
Modifier and TypeMethodDescriptionCreates aLibraryFunction
factory function using the loaded function definitions.static EndpointComponentFactory
createServiceFactory
(ClassLoader classLoader) static EndpointComponentFactory
createServiceFactory
(Map<String, Parameter> builtIns, Map<String, FunctionDefinition> libraryFunctions, List<AuthSchemeValidator> authSchemeValidators) Gets loaded authentication scheme validators.Gets the built-in names as a joined string.boolean
hasBuiltIn
(String name) Returns true if a built-in of the provided name has been registered.
-
Method Details
-
hasBuiltIn
Returns true if a built-in of the provided name has been registered.- Parameters:
name
- the name of the built-in to check for.- Returns:
- true if the built-in is present, false otherwise.
-
getKeyString
String getKeyString()Gets the built-in names as a joined string.- Returns:
- a string of the built-in names.
-
createFunctionFactory
Function<FunctionNode,Optional<LibraryFunction>> createFunctionFactory()Creates aLibraryFunction
factory function using the loaded function definitions.- Returns:
- the created factory.
-
getAuthSchemeValidators
List<AuthSchemeValidator> getAuthSchemeValidators()Gets loaded authentication scheme validators.- Returns:
- a list of
AuthSchemeValidator
s.
-
createServiceFactory
static EndpointComponentFactory createServiceFactory(Map<String, Parameter> builtIns, Map<String, FunctionDefinition> libraryFunctions, List<AuthSchemeValidator> authSchemeValidators) -
createServiceFactory
-