1
All right, guys?
Well, I’m having a hard time and I’d like a little help.
I have the following method from my Acessarintercept class:
@Intercepts
@RequestScoped
public class AcessarIntercept {
@AroundCall
public void intercepta(SimpleInterceptorStack stack) {
// Conteúdo do método que redireciona a página
// após fazer as verificações de interceptação.
}
}
And I would like to invoke that method in my Controller or another class. How do I do that?
I didn’t quite understand your question, it wouldn’t just be to insert the class into an object and call the intercept, it would be?
– Nicolas Bontempo