General contract for a service that can be used with Services
java.lang.Class<T>
getRole()
The exposed role of the service.
Groovy Documentation