Skip to content

Commit

Permalink
adding scope for MockRequestHandlerObserver
Browse files Browse the repository at this point in the history
  • Loading branch information
Turini committed Sep 22, 2014
1 parent 96eee3a commit 96b934a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package br.com.caelum.vraptor.ioc;

import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Event;
import javax.enterprise.event.Observes;
import javax.enterprise.inject.Specializes;
Expand All @@ -30,7 +31,7 @@
import br.com.caelum.vraptor.http.UrlToControllerTranslator;
import br.com.caelum.vraptor.observer.RequestHandlerObserver;

@Specializes
@Specializes @ApplicationScoped
class MockRequestHandlerObserver extends RequestHandlerObserver{
private boolean vraptorStackCalled;

Expand Down

0 comments on commit 96b934a

Please sign in to comment.