Interface Attribute.Name.ScopeFactory<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.ScopeFactory<C,T>
Supports scope attributes in extensible scopes, loaded via ServiceLoader.load(java.lang.Class) on each access to Attribute.Name.scope(java.lang.Class).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    attribute(Class<?> contextType, String name)
    Gets the scope attribute for the given context type and name or null if not handled by this factory.
  • Method Details

    • attribute

      Scope.Attribute<C,T> attribute(Class<?> contextType, String name)
      Gets the scope attribute for the given context type and name or null if not handled by this factory.