finally
{
Thread.currentThread().setContextClassLoader(current);
if (vetoed)
{
manager.fireEvent(new CommandVetoed(command, parameterArray, originalStatement, executionContext));
}
else
{
manager.fireEvent(new CommandExecuted(status, command, originalStatement, parameterArray,
executionContext));