extractor = new DefaultTypeNameExtractor();
deserializer = new JsonDeserializer(provider, extractor, XStreamBuilderImpl.cleanInstance());
ResourceClass resourceClass = new DefaultResourceClass(CatController.class);
meow = new DefaultResourceMethod(resourceClass, CatController.class.getDeclaredMethod("meow"));
roll = new DefaultResourceMethod(resourceClass, CatController.class.getDeclaredMethod("roll", Cat.class));
jump = new DefaultResourceMethod(resourceClass, CatController.class.getDeclaredMethod("jump", Cat.class, Integer.class));
sleep = new DefaultResourceMethod(resourceClass, CatController.class.getDeclaredMethod("sleep", Integer.class, Cat.class));