class StatefulService implements Service {

    @Override
    public URI getUri() {
        if (this.context.host == null) {
            return null;
        }
        return UriUtils.buildUri(this.context.host, this.context.selfLink);
    }

    public  StatefulService(Class<? extends ServiceDocument> stateType);

}