package br.com.caelum.vraptor.restbucks; import br.com.caelum.vraptor.Intercepts; import br.com.caelum.vraptor.core.RequestInfo; import br.com.caelum.vraptor.core.Routes; import br.com.caelum.vraptor.restfulie.Restfulie; import br.com.caelum.vraptor.restfulie.controller.ResourceControllerInterceptor; import br.com.caelum.vraptor.view.Status; /** * Create a generic component which looks up all StateControl's.<br/> * Registers one interceptor which receives this component and intercepts all state controls. */ @Intercepts public class OrderControllerInterceptor extends ResourceControllerInterceptor<Order>{ public OrderControllerInterceptor(OrderStateControl control, Restfulie restfulie, Status status, RequestInfo info, Routes routes) { super(control, restfulie, status, info, routes); } }