Class ResourceImplementor
java.lang.Object
io.quarkus.hibernate.orm.rest.data.panache.deployment.ResourceImplementor
RestDataResource implementor that generates data access logic depending on which
sub-interfaces are used in the application.
The method implementation differs depending on a data access strategy (active record or repository).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Stringimplement(io.quarkus.gizmo.ClassOutput classOutput, DataAccessImplementor dataAccessImplementor, org.jboss.jandex.ClassInfo resourceInterface, String entityType, List<org.jboss.jandex.ClassInfo> resourceMethodListeners) ImplementsRestDataResourceinterfaces defined in a user application.
-
Constructor Details
-
ResourceImplementor
ResourceImplementor(EntityClassHelper entityClassHelper)
-
-
Method Details
-
implement
String implement(io.quarkus.gizmo.ClassOutput classOutput, DataAccessImplementor dataAccessImplementor, org.jboss.jandex.ClassInfo resourceInterface, String entityType, List<org.jboss.jandex.ClassInfo> resourceMethodListeners) ImplementsRestDataResourceinterfaces defined in a user application. Instances of this class are registered as beans and are later used in the generated JAX-RS controllers.
-