class TableMetadataResource {

    @GET
    @Path("/{name}")
    public Table get(@PathParam("name") final String name) throws Exception {
        Table table = tableMetadataManager.get(name);
        if (table == null) {
            throw new WebApplicationException(Response.status(Response.Status.NOT_FOUND).build());
        }
        return table;
    }

    public  TableMetadataResource(TableMetadataManager tableMetadataManager);

}