Interface Participant
public interface Participant
Participant metadata needed by LRA coordinator.
- 
Method SummaryModifier and TypeMethodDescriptionafter()URI of participant's method annotated with@AfterLRA.URI of participant's method annotated with@Compensate.complete()URI of participant's method annotated with@Complete.forget()URI of participant's method annotated with@Forget.leave()URI of participant's method annotated with@Leave.status()URI of participant's method annotated with@Status.
- 
Method Details- 
compensateURI of participant's method annotated with@Compensate. Expected to be called by coordinator in case LRA participant is enrolled in is cancelled.- Returns:
- URI of JaxRs compensating resource or empty
 
- 
completeURI of participant's method annotated with@Complete. Expected to be called by coordinator in case LRA participant is enrolled in is completed.- Returns:
- URI of JaxRs completion resource or empty
 
- 
forgetURI of participant's method annotated with@Forget. Expected to be called by coordinator in case LRA closing/completing takes longer, e.g. complete/compensate methods are not independent and coordinator needs to recover (wait and query) actual status of participant.- Returns:
- URI of JaxRs forget resource or empty
 
- 
leaveURI of participant's method annotated with@Leave.- Returns:
- URI of JaxRs leave resource or empty
 
- 
afterURI of participant's method annotated with@AfterLRA.- Returns:
- URI of JaxRs after LRA resource or empty
 
- 
statusURI of participant's method annotated with@Status. Expected to be called by coordinator in case it needs to ask for participant status.- Returns:
- URI of JaxRs status resource or empty
 
 
-