public Message invoke(Message msg) throws InvocationRuntimeException {
TargetInvoker invoker = msg.getTargetInvoker();
if (invoker == null) {
throw new InvocationRuntimeException("No target invoker specified on message");
}
return invoker.invoke(msg);
}
public void setNext(Interceptor next) {
throw new IllegalStateException("This interceptor must be the last one in an target interceptor chain");
}