Skip to content

Instantly share code, notes, and snippets.

@paulrobinson
Created May 16, 2012 08:46
Show Gist options
  • Save paulrobinson/2708789 to your computer and use it in GitHub Desktop.
Save paulrobinson/2708789 to your computer and use it in GitHub Desktop.
REST-AT with TXFramework
@AT(bridgeType=BridgeType.NONE)
@Path("/")
public class RestaurantServiceATImpl implements RestaurantServiceAT {
@POST
@ServiceRequest
public void makeBooking() {
MockRestaurantManager.makeBooking();
}
@Prepare public Boolean prepare() {...}
@Commit public void commit() {...}
@Rollback public void rollback() {...}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment