Package com.consol.citrus.spi
Interface ReferenceRegistry
-
- All Known Subinterfaces:
ReferenceResolver
- All Known Implementing Classes:
SimpleReferenceResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ReferenceRegistry
Bind objects to registry for later reference. Objects declared in registry can be injected in various ways (e.g. annotations). Usually used in combination withReferenceResolver.- Author:
- Christoph Deppisch
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbind(String name, Object value)static StringgetName(BindToRegistry bindAnnotation, String defaultName)Get proper bean name for future bind operation on registry.
-
-
-
Method Detail
-
getName
static String getName(BindToRegistry bindAnnotation, String defaultName)
Get proper bean name for future bind operation on registry.- Parameters:
bindAnnotation-defaultName-- Returns:
-
-