Package org.actioncontroller.meta
Interface ApiControllerActionFactory<ANNOTATION extends Annotation>
-
- All Superinterfaces:
AnnotationFactory
- All Known Implementing Classes:
DELETE.RouterMapperFactory,GET.ActionFactory,POST.ActionFactory,PUT.ActionFactory
public interface ApiControllerActionFactory<ANNOTATION extends Annotation> extends AnnotationFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiControllerActioncreate(ANNOTATION annotation, Object controller, Method action, ApiControllerContext context)static Optional<ApiControllerAction>createNewInstance(Object controller, ApiControllerContext context, Method method)static <T extends Annotation>
ApiControllerActionFactory<T>newInstance(T annotation)
-
-
-
Method Detail
-
create
ApiControllerAction create(ANNOTATION annotation, Object controller, Method action, ApiControllerContext context)
-
createNewInstance
static Optional<ApiControllerAction> createNewInstance(Object controller, ApiControllerContext context, Method method)
-
newInstance
static <T extends Annotation> ApiControllerActionFactory<T> newInstance(T annotation)
-
-