Okay, everyone?
Well, I'm having a hard time and would like a little help.
I have the following method of my AccessIntercept 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'd like to invoke this method in my Controller or another class. How do I do this?