public interface CrudActionResolver
CrudActionResolver
provides logic to resolve the CrudAction
that is associated
to a particular method. For instance, a JAX-RS resolver could use JAX-RS annotations to determine the ongoing CRUD
action. Another example would be a Servlet resolver which can use the method signature of an HttpServlet to determine
the corresponding action.
Classes implementing this interface can be annotated with Priority
to define an absolute
order among them.
Modifier and Type | Method and Description |
---|---|
Optional<CrudAction> |
resolve(Method method)
Resolves a
CrudAction from the specified method object. |
Optional<CrudAction> resolve(Method method)
CrudAction
from the specified method object.method
- the method object.CrudAction
.Copyright © 2013-2018–2019 SeedStack. All rights reserved.