Interface InteractionControllerInstantiator

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 InteractionControllerInstantiator

An InteractionControllerInstantiator is used get instances of classes annotated with Interaction, if needed creating those.

Please also note that per Runtime there can be multiple classes annotated with Interaction but there can be only one instance per class of those per Runtime. Instances of interactions should be treated like runtime scoped singletons, so to speak.

  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    instance(Class<T> clazz, Introspection introspection)
    This method will be called each time an instance of a class annotated with Interaction is needed.