Interface Attribute.Name.ContextFactory<C,T>

Enclosing class:
Attribute.Name<T>
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 static interface Attribute.Name.ContextFactory<C,T>
Supports attributes in extensible contexts, loaded via ServiceLoader.load(java.lang.Class) on each access to Attribute.Name.context(java.lang.Object).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    attribute(Object context, String name)
    Gets the attribute for the given context and name or null if not handled by this factory.
  • Method Details

    • attribute

      Attribute<C,T> attribute(Object context, String name)
      Gets the attribute for the given context and name or null if not handled by this factory.