Package com.bluebell.greenhouse.planter.orchestrators
package com.bluebell.greenhouse.planter.orchestrators
Contains the orchestrators that own a request's unit of work.
A controller maps HTTP and nothing else. The service in this package opens the transaction,
resolves whatever references the request carries, calls the domain services in radicle
and converts the result to its DTO before returning. Assembling the DTO inside that transaction
is the point: it is what allows the persistence session to end with the unit of work rather than
with the HTTP response, so spring.jpa.open-in-view can be turned off.
Package: com.bluebell.greenhouse.planter.orchestrators
- Since:
- 3.0.5
- Author:
- Stephen Prizio
-
InterfacesClassDescriptionMarks a class as the single entry point through which a controller reaches the domain.