@Override
public void initialise() throws InitialisationException
{
if (arguments == null || arguments.size() == 0)
{
throw new InitialisationException(CoreMessages.objectIsNull("arguments[]"), this);
}
for (Iterator<ExpressionArgument> iterator = arguments.iterator(); iterator.hasNext();)
{
ExpressionArgument argument = iterator.next();
argument.setMuleContext(muleContext);
argument.setExpressionEvaluationClassLoader(Thread.currentThread().getContextClassLoader());
try
{
argument.validate();
}
catch (Exception e)
{
throw new InitialisationException(e, this);
}
}
}