Interface AttributeInterceptor

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 AttributeInterceptor
This interface enables developers to provide custom implementation of parameter value provider. It is setup within HigsonEngineFactory, but interception happens within AttributeValueProvider during getting value for domain attribute.
Author:
przemek hertel
See Also:
  • Method Details

    • getValue

      ParamValue getValue(AttributeValueResolver resolver, DomainAttribute attr, ParamContext ctx, Object... args)
      This method allows provide custom handling of parameters for domain attributes.
      Parameters:
      resolver - attribute value resolver
      attr - attribute from which value and type will be fetched
      ctx - context required for finding proper value
      args - possible arguments if attribute is defined as function
      Returns:
      possible values