Interface BeanContextConditional

    • Method Detail

      • isEnabled

        default boolean isEnabled​(@NonNull
                                  BeanContext context)
        Return whether this component is enabled for the given context.
        Parameters:
        context - The context
        Returns:
        True if it is
      • isEnabled

        boolean isEnabled​(@NonNull
                          BeanContext context,
                          @Nullable
                          BeanResolutionContext resolutionContext)
        Return whether this component is enabled for the given context.
        Parameters:
        context - The context
        resolutionContext - The bean resolution context
        Returns:
        True if it is