WIP: Fix shutdown example
WIP: fix java service example
WIP: update docstring for service macro