Certo.... eu tinha dado uma olha, mas faltou atenção....
Code:
import org.mentawai.core.*;
public class MyFilter implements Filter {
public String filter(InvocationChain chain) throws Exception {
Action action = chain.getAction();
Output output = action.getOutput();
output.setValue("before", "doing something before!");
String result = chain.invoke();
output.setValue("after", "doing something after!");
return result;
}
public void destroy() { }
}
Valeu Sérgio. Hoje a noite eu acredito que eu acabe o formatador. Daí tem mando o código.
VELO