@GET
@Produces({"application/json", "application/xml"})
public WebResourceList getMyResources() {
if (null == myResources) {
myResources = new WebResourceList();
myResources.items = new LinkedList<WebResourceList.Item>();
myResources.items.add(new WebResourceList.Item(
"list of printers", uriInfo.getBaseUriBuilder().path(this.getClass()).path("list").build().toString()));
myResources.items.add(new WebResourceList.Item(
"jMaki table model", uriInfo.getBaseUriBuilder().path(this.getClass()).path("jMakiTable").build().toString()));