// wrap every Advice in an Advisor instance that returns it in all cases
int len = advices.length + 1;
Advisor[] advisors = new Advisor[len];
// always add the standard CurrentConversationAdvice, and do it FIRST, so it runs first
Advice currConvAdvice = new CurrentConversationAdvice(conversation, beanName);
advisors[0] = new SimpleAdvisor(currConvAdvice);
for(int i=0; i<advices.length; ++i)
{
advisors[i+1] = new SimpleAdvisor(advices[i]);
}