Interface InjectionService<C>

  • Type Parameters:
    C - Command sender type
    All Superinterfaces:
    java.util.function.Function<Triplet<CommandContext<C>,​java.lang.Class<?>,​AnnotationAccessor>,​java.lang.Object>, cloud.commandframework.services.types.Service<Triplet<CommandContext<C>,​java.lang.Class<?>,​AnnotationAccessor>,​java.lang.Object>
    All Known Implementing Classes:
    GuiceInjectionService, ParameterInjectorRegistry
    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 InjectionService<C>
    extends cloud.commandframework.services.types.Service<Triplet<CommandContext<C>,​java.lang.Class<?>,​AnnotationAccessor>,​java.lang.Object>
    Service that can be registered to the ParameterInjectorRegistry in order to provide custom injection support. This can be used to integrate the Cloud with existing dependency injection frameworks.
    Since:
    1.4.0
    • Method Summary

      • Methods inherited from interface java.util.function.Function

        andThen, compose
      • Methods inherited from interface cloud.commandframework.services.types.Service

        apply, handle, order