Interface InjectionService<C>
- Type Parameters:
C
- Command sender type
- All Superinterfaces:
Function<Triplet<CommandContext<C>,
,Class<?>, AnnotationAccessor>, Object> cloud.commandframework.services.types.Service<Triplet<CommandContext<C>,
Class<?>, AnnotationAccessor>, 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
@API(status=STABLE,
since="1.4.0")
public interface InjectionService<C>
extends cloud.commandframework.services.types.Service<Triplet<CommandContext<C>,Class<?>,AnnotationAccessor>,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 cloud.commandframework.services.types.Service
apply, handle, order