Interface ContextAccessor.ContextMutator<CTX>

  • Type Parameters:
    CTX - The type of the context property.
    All Known Subinterfaces:
    ContextAccessor.ContextProperty<CTX>
    Enclosing interface:
    ContextAccessor<CTX>

    public static interface ContextAccessor.ContextMutator<CTX>
    Provides a mutator for a context property for e.g. a service or a component.
    • Method Detail

      • setContext

        void setContext​(CTX aContext)
        Sets the context for the context property.
        Parameters:
        aContext - The context to be stored by the context property.